[flexcoders] Re: i18n and embedded fonts

2008-05-13 Thread deepak_michael
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

Re: [flexcoders] Re: i18n and embedded fonts

2008-05-13 Thread Tom Chiverton
On Tuesday 13 May 2008, deepak_michael wrote: 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. If you (embed) a font, and it lacks the glyphs, of course you get

[flexcoders] Re: i18n and embedded fonts

2008-05-13 Thread deepak_michael
Hi Tom, Thanks for the quick reply. If you (embed) a font, and it lacks the glyphs, of course you get nothing. If you use a font that does have them i.e. the device font, you will get them appearing. No ? It's the same font in both the cases. I embedded the Trebuchet MS font earlier and in the

Re: [flexcoders] Re: i18n and embedded fonts

2008-05-13 Thread Claus Wahlers
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

[flexcoders] Re: i18n and embedded fonts

2008-05-13 Thread deepak_michael
Thanks for the reply Claus. I did think about setting the TextFormat and thereby the font at runtime but wasn't sure on how this would affect the performance. Any sample code would be greatly appreciated :) I'm trying it out now and seem to have run into an issue with the whole of the text not