Well for whatever reason when I converted the font to OTF and then
embedded it all the characters showed up

I'd still be interested in why the TTF wouldnt fully work though if
anyone is a font guru

On Sat, Aug 14, 2010 at 8:34 PM, Rick Schmitty <[email protected]> wrote:
> I have 2 font files from a client, which of course means I cannot
> share them.  They are TFF format, install on Mac and Windows fine and
> I can see all characters fine in Word or Photoshop.  In Flex 4 I am
> missing the m, N, U, W characters.  In Flex 3 it everyone appears OK.
>
> Has anyone run into this before, am I missing something?  Example code below
>
>
> Flex 3
>
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute">
>        <mx:Script>
>                <![CDATA[
>                        [Embed(source='../assets/J1.ttf',
>                                fontName='J1',
>                                mimeType='application/x-font'
>                                )]
>                        private var J1Font:Class;
>
>                        [Embed(source='../assets/J2.ttf',
>                                fontName='J2',
>                                mimeType='application/x-font'
>                                )]
>                        private var J2Font:Class;
>
>                ]]>
>        </mx:Script>
>
>        <mx:Label 
> text="AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz1234567890.!:-()"
> fontFamily="J1" fontSize="20" x="22" y="25"/>
>        <mx:Label 
> text="AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz1234567890.!:-()"
> fontFamily="J2" fontSize="20" x="22" y="90"/>
>        <mx:Label 
> text="AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz1234567890.!:-()"
> fontFamily="Times New Roman"  fontSize="20" x="22" y="146"/>
> </mx:Application>
>
>
> Flex 4
>
> <?xml version="1.0" encoding="utf-8"?>
> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
>                           xmlns:s="library://ns.adobe.com/flex/spark"
>                           xmlns:mx="library://ns.adobe.com/flex/mx">
>        <fx:Script>
>                <![CDATA[
>                        [Embed(source='../assets/J1.ttf',
>                                fontName='J1',
>                                mimeType='application/x-font'
>                                )]
>                        private var J1Font:Class;
>
>                        [Embed(source='../assets/J2.ttf',
>                                fontName='J2',
>                                mimeType='application/x-font'
>                                )]
>                        private var J2Font:Class;
>
>                ]]>
>        </fx:Script>
>
>        <s:Label 
> text="AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz1234567890.!:-()"
> fontFamily="J1" fontSize="16" x="22" y="25" kerning="on"/>
>        <s:Label 
> text="AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz1234567890.!:-()"
> fontFamily="J2" fontSize="20" x="22" y="90"/>
>        <s:Label 
> text="AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz1234567890.!:-()"
> fontFamily="Times New Roman"  fontSize="20" x="22" y="146"/>
> </s:Application>
>

Reply via email to