In an application i'm currently working on (which is not done in Flex though - i'm using Flash CS3 and the CS3 UI Components), i subclass the components and add an "alternativeTextFormat" style.
This way i can set it to display an embedded font that only contains latin glyphs, and let it automatically switch to an alternative font (usually unembedded _sans) when one of the characters can't be displayed due to missing embedded glyphs. I have this implemented for buttons, labels and cell renderers and it works like a charm (i'll opensource these soon btw). In addition i added a new InvalidationType.LOCALE and implemented a simple AS3 version of gettext, to make switching languages at runtime almost trivial. Flash CS3 though as i said, but this should also be doable in Flex i guess. Flex 3 also comes with improvements in I18N land - i'm not too much into that but you may want to look into ResourceManager there. Cheers, Claus. deepak_michael wrote: > Hi Tom, > Thanks for the reply. > No, the font doesn't contain the glyphs... but if I had set the same > as a device font instead of embedding it, the characters for the > Japanese/Chinese/non-latin characters appear. > So, if the font's not embedded and if characters are encountered that > is not in the glyph set of the font assigned, the player looks for a font > on the client machine that does support those characters... but this > beautiful mechanism seems to go away once we use an embedded font - > that's the problem I want to work around. > Please let me know if there's something I have missed out. > > Deepak > > --- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> > wrote: >> On Friday 09 May 2008, deepak_michael wrote: >>> I'm using an embedded font (Trebuchet MS) in the application and >>> because of this strings which are in Japanese/Chinese/non-latin >>> characters do not appear. >> Does that font have glyphs for those locales ? >> >> -- >> Tom Chiverton