[osflash] [swfmill] Embedding bold/italic?

Mark Winterhalder mark13 at gmail.com
Wed Jan 31 08:16:59 EST 2007


On 1/31/07, Ralf Bokelberg <ralf.bokelberg at gmail.com> wrote:
> Yes ok, but if i do so, the flash player doesn't recognize the bold
> format.  I guess, there must be a way to specify, that a certain font
> is the bold version of another font.

Hi again,

IIRC, it should work to have multiple imports for different styles of
the same font, but with the same @name. I'm not sure whether @id
should be different... hmm... I guess you can just leave it away. :)

<font name="foo" import="FooRegular.ttf"/>
<font name="foo" import="FooBold.ttf"/>

This should enable you to use the bold textformat, or <b/> tags inside HTML.

HTH,
Mark



More information about the osflash mailing list