Re: [flexcoders] Embedding fonts with a font that doesn't have bold

2010-04-04 Thread Samuel Colak
Yeah i understood that bit (doh). Standard fonts have the glyphs all inside one package (bold and italic) however some font designers make variants of these sets. These variants are not tracked by the standard text formatting services (Bold keyword needs to correspond to a default set for bold

[flexcoders] Embedding fonts with a font that doesn't have bold

2010-04-03 Thread Mike Chang
Hi, I'm trying to embed a font into Flex, but the font doesn't have bold style, so anywhere the application bolds the text it shows as Times New Roman. Any workaround? I have another font-name I'd like to use for bold. Thanks, Mike

Re: [flexcoders] Embedding fonts with a font that doesn't have bold

2010-04-03 Thread Oleg Sivokon
You can try using TextRenderer to mimic bold, but, unfortunately, the settings applied through TextRenderer are application-wide... Anyway, see if this may help: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextRenderer.html#setAdvancedAntiAliasingTable() Best Oleg

Re: [flexcoders] Embedding fonts with a font that doesn't have bold

2010-04-03 Thread Samuel Colak
Oleg, you need to embed two fonts into you flex movie (one bold, the other not). then you can set the usage of one font or another through the style property fontFamily. im not sure if in html of the textbox text property that you can use the font directive to set the family. i know you can

Re: [flexcoders] Embedding fonts with a font that doesn't have bold

2010-04-03 Thread Oleg Sivokon
Samuel, It was actually not me, who asked the question :) Besides, from what I understood from the question - the font doesn't have bold face, so, you cannot embed bold characters from that font, because they had never been designed by the font's author :) If this isn't the case, then probably my

Re: [flexcoders] Embedding fonts with a font that doesn't have bold

2010-04-03 Thread Mike Chang
Oleg's right. Thanks all. On Sat, Apr 3, 2010 at 2:06 PM, Oleg Sivokon olegsivo...@gmail.com wrote: Samuel, It was actually not me, who asked the question :) Besides, from what I understood from the question - the font doesn't have bold face, so, you cannot embed bold characters from that