FP10 AS3 TextLayout TTF transcoding

27 05 2009

 Further to my last post about intl text, I have solved some of the issues and found resources for Arabic as well as Hindi. I thought I’d list the error that Flex SDK 4.0.0.7052 chucks when I try to transcode certain TTF files:

[code lang="actionscript"]

Error: unable to build font 'B Nasim'

[Embed(source='/../fonts/arabic/BNasimBd.ttf',
^

Error: Unable to transcode /../fonts/arabic/BNasimBd.ttf.

^

[/code]

I've also noticed that I only experience these transcoding issues that I mention on fonts where the font name contains a space, this could perhaps be a coincidence but it's coming up a little too frequently for it to be chance. If you have a font that you are forced to use; I would consider editing it in FontLab or similar and modifying the font name metadata.