Sure enough--that was the issue. Thanks for the help.
On Fri, Mar 8, 2013 at 10:12 AM, Jagan Langa Sami Durai <jaga...@sybrant.com > wrote: > * embedAsCFF: true; - *this is the problem. set it to false. > > > On Fri, Mar 8, 2013 at 8:34 PM, Scott Talsma <sc...@talsma.tv> wrote: > > > I just updated a 4.6 to 4.9, and discovered some my text fields were > > displaying in Times New Roman instead of Verdana. Verdana is being > > specified in an runtime stylesheet, compiled into an external swf. > > > > When I dug further, I confirmed that only the spark Label (<s:Label>) is > > affected (broken); <s:RichText> and <s:RichEditableText> work fine. > > > > I know that some things changed b/t 4.6 and 4.9 around embedded fonts, > so I > > wanted to confirm that I am doing things correctly before filing a bug. > > > > <?xml version="1.0"?> > > <s:Application > > xmlns:fx="http://ns.adobe.com/mxml/2009" > > xmlns:mx="library://ns.adobe.com/flex/mx" > > xmlns:s="library://ns.adobe.com/flex/spark" > > creationComplete="loadExtStylesheet()"> > > <s:layout> > > <s:VerticalLayout/> > > </s:layout> > > <fx:Script> > > > > private function loadExtStylesheet():void { > > styleManager.loadStyleDeclarations("styles.swf"); > > } > > > > </fx:Script> > > > > <fx:Declarations> > > <fx:String id="valueEng"> > > <![CDATA[Help.]]> > > </fx:String> > > </fx:Declarations> > > <s:Panel title="Example of text" > > > <s:layout> > > <s:VerticalLayout /> > > </s:layout> > > <s:Label text="Example of text" fontFamily="BodyCopyFont" /> > > <s:Label text="Example of text" /> > > <s:RichText id="myRT1" width="400" text="asdf"/> > > <s:RichEditableText width="400" text="asdf"/> > > </s:Panel> > > </s:Application> > > > > > > ---BEGIN styles.css----- > > @namespace mx "library://ns.adobe.com/flex/mx"; > > @namespace s "library://ns.adobe.com/flex/spark"; > > > > s|global { > > fontSize: 11; > > > > fontAntiAliasType: "advanced"; > > fontGridFitType: "subpixel"; > > > > } > > > > /* BodyCopyFont is used by spark components (cff=true) */ > > @font-face { > > src: url("../fonts/Herculanum.ttf"); > > embedAsCFF: true; > > fontFamily: BodyCopyFont; > > } > > > > s|Application { > > fontSize: 11; > > fontFamily: "BodyCopyFont"; > > fontAntiAliasType: "advanced"; > > fontGridFitType: "subpixel"; > > } > > > > > > -- > * > Regards, > S. Jagan Langa* *|* *Team Lead* > *Sybrant Technologies Pvt Ltd* > *-------------------------------- > * > ‘Shriram The Gateway (SEZ)’, Block A1, > 3rd Floor, 16 GST Road, Perungalathur, > Chennai - 600 063, India > India | USA | Germany | China > > Mobile: +91 98430 50897 > Skype: seesamjagan >