I logged the following bug: https://bugs.adobe.com/jira/browse/SDK-13352

I guess we'll see what happens to it.  It has some screenshots
attached to it so that you can see what I am talking about.

--- In [email protected], "toofah_gm" <[EMAIL PROTECTED]> wrote:
>
> Sometimes I feel like I am talking to myself, answering my own
> questions. :)
> 
> This time I don't have any answers yet.
> 
> There seems to be a BUG in flex with the way that it handles European
> characters in embedded fonts.  Can anyone confirm this?  I wonder if I
> need to write up a bug.
> 
> Anyway, you can see my simple code below and try this out with any of
> the fonts found in windows.  I just tried Arial.ttf myself.  In Arial
> the marking of the "i" character of Eloise is shifted, but the one of
> the "E" does not shift.
> 
> I also noticed that the Arial font does not look "clean" at all.  I
> had noticed this on my own fonts when they were blown up large, but
> had thought that this was a problem with my fonts.  Look at the
> "round" characters in the word Eloise.  You will notice that the "o"
> is cut off a little on the outside and padded a little on the inside.
>  You also see this on the "e".  If you use the same font in MS Word
> you will notice that this does not happen.
> 
> Am I going crazy, or is there a problem in Flex here?
> 
> Thanks!
> 
> Gary
> 
> --- In [email protected], "toofah_gm" <garym@> wrote:
> >
> > Has anyone been able to reproduce this problem with my sample code?  I
> > can send my TTF file if that would help.
> > 
> > Thanks!
> > 
> > --- In [email protected], "toofah_gm" <garym@> wrote:
> > >
> > > Here is a simple app that shows this problem.  I'd be glad to
send you
> > > my TTF file if you need it in order to reproduce the problem.
> > > 
> > > <?xml version="1.0" encoding="utf-8"?>
> > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
> > > layout="absolute" creationComplete="init()">
> > >   <mx:Style>
> > >         @font-face 
> > >         {
> > >             src: url("../assets/Barbedor-Regular.ttf");
> > >             fontFamily: "Barbedor";
> > >         }
> > >         .myFont{fontFamily:"Barbedor";}
> > >     </mx:Style>
> > >   <mx:Script>
> > >           <![CDATA[
> > >                   private function init():void
> > >                   {
> > >                           txt.htmlText="<FONT FACE='Barbedor' 
> > > SIZE='72'>Éloïse</FONT>";
> > >                   }                       
> > >           ]]>
> > >   </mx:Script>
> > >   <mx:TextArea styleName="myFont" id="txt" top="25" left="0"
> > > width="500" height="500" editable="false" selectable="false"
> > > verticalScrollPolicy="off" horizontalScrollPolicy="off"/>
> > > </mx:Application>
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > --- In [email protected], "Alex Harui" <aharui@> wrote:
> > > >
> > > > Can you create a simple test case?
> > > > 
> > > >  
> > > > 
> > > > ________________________________
> > > > 
> > > > From: [email protected]
[mailto:[EMAIL PROTECTED]
> > > On Behalf Of toofah_gm
> > > > Sent: Thursday, November 01, 2007 8:49 AM
> > > > To: [email protected]
> > > > Subject: [flexcoders] Problems with European characters in
embedded
> > > fonts
> > > > 
> > > >  
> > > > 
> > > > I am embedding TTF fonts into my application. We have included
most
> > > > of the European character sets in these fonts.
> > > > 
> > > > Now the problem. The fonts show up correctly in MS Office and
other
> > > > windows applications. But when some of the European characters are
> > > > typed into my Flex application, the "top" portion of some of the
> > > > European characters is shifted to the right. I wish I could show a
> > > > picture of this. This includes things like Diaeresis, Acute,
> > > > Circumflex, etc. 
> > > > 
> > > > An example word is: Éloïse
> > > > In this word, the marks above the "É" and the "ï" are shifted
to the
> > > > right so that the markings end up almost above the "l" and the "s"
> > > > characters.
> > > > 
> > > > This only seems to be a problem with the Flex app. The problem
> is not
> > > > seen with the same TTF files in all other apps.
> > > > 
> > > > Does anybody know what might be happening here? Am I missing some
> > > > simple option when embedding the fonts into my app? My embed
> > > > statements look like this:
> > > > [Embed(source="assets/Opus-BoldItalic.ttf", fontName="Opus",
> > > > fontWeight="bold", fontStyle="italic")]
> > > > 
> > > > Could there be a problem with the TTF files themselves? Is there a
> > > > setting that might be causing this?
> > > > 
> > > > Thanks for your help!
> > > >
> > >
> >
>


Reply via email to