Skip to main content
May 7, 2009
Answered

(How) can I use Embeded Fonts in Flex 3.3

  • May 7, 2009
  • 1 reply
  • 1882 views

If I understand correctly, I need to transcode/embed the fonts in Flex 4 / CS 4, but is there any way to then get those embeded fonts into a Flex 3.3 application?

This topic has been closed for replies.
Correct answer brian_thomas2

Support for DefineFont4 (the cff property) is new in Flex Gumbo. It is not available in Flex 3.X. That said – I do have a solution for you. Create a separate Flex Gumbo project and use the cff property to embed the font you need into that SWF. Then embed the font SWF that you just created in Gumbo into your Flex 3.3 application.

Check out the “Building a Font SWF for use in any Flash Application” section in my DefineFont4 blog post:

http://blogs.adobe.com/tlf/2008/11/embedded_font_subsetting_using.html

Here is an article on embedding a SWF in Flex:

http://blog.flexexamples.com/2007/10/25/embedding-fonts-from-a-flash-swf-file-into-a-flex-application/

Hope this helps!

1 reply

brian_thomas2
Adobe Employee
brian_thomas2Correct answer
Adobe Employee
May 7, 2009

Support for DefineFont4 (the cff property) is new in Flex Gumbo. It is not available in Flex 3.X. That said – I do have a solution for you. Create a separate Flex Gumbo project and use the cff property to embed the font you need into that SWF. Then embed the font SWF that you just created in Gumbo into your Flex 3.3 application.

Check out the “Building a Font SWF for use in any Flash Application” section in my DefineFont4 blog post:

http://blogs.adobe.com/tlf/2008/11/embedded_font_subsetting_using.html

Here is an article on embedding a SWF in Flex:

http://blog.flexexamples.com/2007/10/25/embedding-fonts-from-a-flash-swf-file-into-a-flex-application/

Hope this helps!

May 7, 2009

That worked perfectly.  I tried that exact same thing before, execpt that I used the Embed metadata tag instead of the of CSS.  The CSS works; the metadata solution is still giving me:

exception during transcoding: Font for alias 'Arial' with plain weight and style was not found at: file...

Should I report this as a bug?

▲T
brian_thomas2
Adobe Employee
Adobe Employee
May 7, 2009

Double check your project settings & the path (file exists, path is relative to the correct base directory, etc..) before you report this as a bug.