Skip to main content
April 13, 2009
Question

AFEFontManager,TextLayoutFramework and embedded fonts

  • April 13, 2009
  • 1 reply
  • 1253 views

Should we not use AFEFontManager in conjunction with TextLayoutFramework and embedded fonts. I have a project that was using the compiler argument -managers=flash.fonts.AFEFontManager. I would embed fonts from a loaded swf, but the fonts would be of type "embedded" instead of "embeddedCFF". Since the type wasn't embeddedCFF, the font wouldn't display correctly.

I removed the -managers=flash.fonts.AFEFontManager argument and it works perfectly.

So, is there a different way to reference the AFEFontManager? Or perhaps it's not necessary to do so at all?

thanks.

This topic has been closed for replies.

1 reply

Adobe Employee
April 16, 2009

I think this question needs to go to the flex forum, since it is more about AFEFontManager. "embedded" fonts work with TextField, "embeddedCFF" fonts work with TLF and flash.text.engine. It's possible there is a way for you do this with embeddedCFF, that is a question for the Flex group, they are the best source fr information about the compiler.

Thanks,

- robin