The key is that there must be code in the same SWF as the font that generates 
the class that will display the text (which might be from the module).  This 
should be automatic for any Flex control, but if you're using itemrenderers 
and/or classFactories you'll probably need to use ContextualClassFactory 
instead.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: [email protected] [mailto:[email protected]] On Behalf 
Of Greg Hess
Sent: Thursday, May 14, 2009 11:02 AM
To: [email protected]
Subject: [flexcoders] Confused about modules using embedded fonts Flex 3.3





Hi Folks,

I have a modular application built on Flex 3.3 SDK and have just
introduced some embedded fonts and unfortunately all text is blank in
the modules that attempt to use the embedded font. Popup windows
displayed from my module shell(main application) work fine. Searching
the archive and web I have found much discussion in relation to
ActionScript 2 but not much regarding Flex 3 other than this adobe
bug(3.2 sdk) http://bugs.adobe.com/jira/browse/SDK-18254 that has the
same result (blank text), but in my testing my modules call to
Font.enumerateFonts(false); does return my list of embedded fonts so I
don't think the work around to register the fonts will help.

Does anyone know how to allow a module to use fonts embedded in the
main application in Flex 3.3?

Do I have to register the embedded font when initializing each module?

If my fonts are listed in Font.enumerateFonts(false) does that mean
registration is already complete?

Any help is much appreciated!

Greg

Reply via email to