Saturday, October 30, 2010

Flex error: Unable to transcode swf with embedded fonts

Today I wanted to create swf file in Flash CS5 with embedded fonts and then I wanted to use this file in Flex 4.

After writing the following code in Flex:

[Embed(source="./assets/fonts/fonts.swf", fontName="Minion Pro")]
private var minionProRegular:Class;

I saw this error:

Multiple markers at this line:
-Unable to transcode ./assets/fonts/fonts.swf.
-font 'Minion Pro' with normal weight and regular style not found

The reason of this error message were the text boxes contained within the swf file that contains embedded fonts.

Remove visual objects from Flash CS5 file with embedded fonts.

More information about this problem can be found here


Anonymous said...

I had the exact same error trying the exact same thing. However, removing all visual objects from the stage didn't seem to do a thing.

Oskar Wicha said...

I've added link in my post to webpage which explains in detail this problem. So maybe this will help you.

Anonymous said...

Good afternoon would you take offense letting me know which page platform you're utilizing ? I'm scouting to launch my own web site in next to no time but I'm experiencing a strenuous time choosing between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is since your design appears distinctive as in comparison to
most information sites with I'm looking for something distinctive. P.S I am sorry for being off-subject but I needed to inquire!

In conclusion , allow me thank you for your tolerance with my English as (I'm convinced you have figured this at this time ,), English is not my chief tongue thus I am utilizing Google Translate to shape out what to note down what I actually wish to voice.

Oskar Wicha said...

It's Google Blogspot