answered my own question with an admitted shot in the dark:
If you add fontWeight='bold' to the embed call it works.

--matt

---------- Forwarded message ----------
From: Matt Gitchell <[EMAIL PROTECTED]>
Date: Jan 11, 2008 12:28 PM
Subject: Embedding font weights?
To: Flash Coders List <flashcoders@chattyfig.figleaf.com>


Hi.
I'm trying to use a bold font with the Embed dingus, and when I use this:

[Embed(systemFont='Gotham', fontName='goth', mimeType='application/x-font',
unicodeRange='U+0020-U+002F,U+0030-U+0039,U+003A-U+0040,U+0041-U+005A,U+005B-U+0060,U+0061-U+007A,U+007B-U+007E')]

public static var goth:Class;

I get the following error:
"exception during transcoding: Font for alias 'goth' with plain weight and
style was not found at " + [pathname]

it works with the normal weight font, but not the bold.

is there any way to embed a bold-weight font this way, or do I have to do
the separate swf/class/register nonsense?

--Matt
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to