Skip to main content
September 16, 2009
Question

Unable to build font/transcode (Helvetica Condensed Bold)

  • September 16, 2009
  • 1 reply
  • 7797 views

Hi all,

I have a really serious problem. I would not share it if I could solve the problem. I have been tryting to find the solution for several days.

I have three fonts which I want to embed (Flash Builder, SDK 4.0, xx10220, xx10288, xx7219).

[Embed(source='../HelveticaNeueLTCom-Cn.ttf',  fontFamily='HelveticaNeueLT Com 57 Cn', cff='true') ]
public static var _Cn:Class

[Embed(source='../HelveticaNeueLTCom-BdCn.ttf', fontFamily='HelveticaNeueLT Com 77 BdCn', cff='true')]
public static var _Bold:Class;
         
[Embed(source='../HelveticaNeueLTCom-Roman.ttf',  fontFamily='HelveticaNeueLT Com 55 Roman', cff='true')]
public static var _Roman:Class;

Problem: I just cannot embed HelveticaNeueLTCom-BdCn.ttf. Why is it strange? Because all the fonts were purchased from linotype in the same time and all the those work fine without cff in my previous projects.

I have got two errors: "unable to build font" and "unable to transcode".

I have already tried to use another font transcoder like:

flash.fonts.JREFontManager
flash.fonts.AFEFontManager
flash.fonts.BatikFontManage
but none could solve the problem. One of these could export the movie, but finally the font just did not work. One the these occured three errors.

I also tried to convert the font with TransType pro in the way to change the "bold" tag to "regular". In this case, the original font transcoder could export the movie, but then the font just did not work as well in the prevoius case.

I am completely lost, I have no more ideas to try to embed that font.

I cannot publish the font, but if there is anybody I could send the font via email.

Thanks!

This topic has been closed for replies.

1 reply

September 17, 2009

Try this ...

"... A bug has been filed to Adobe and fortunately there is a quick solution to get around it. All you have to do is go to your project properties (right-click on your project would be easiest), then go to "Flex Compiler", then under "Additional compiler arguments:" add "-managers flash.fonts.AFEFontManager".

There will most likely be something else already in that box, all you have to do is add a space between each arguments.

Remember, you can only embed TTF and OTF fonts in Flex 3 (or use SWF for any other type). This workaround won't work if your font is not supported anyway. ..."

It worked for me.

HTH