Skip to main content
Known Participant
August 12, 2011
Question

Embedded font using flash.text.engine works on AIR2.6 but no AIR2.5

  • August 12, 2011
  • 1 reply
  • 653 views

I use the following embed statement:

[Embed(source = "C:\\Windows\\fonts\\Kids_Plain.ttf", fontFamily = "Kids", embedAsCFF="true")]

private var Kids:Class;

...

...

I use flash.text.engine class functions and the program runs fine on AIR2.6 on Android, but the text does not show on AIR2.5.  According to the Adobe documentation, the flash.text.engine class should work on the AIR2.5 platform.  Or is there something wrong with the way I embed the font?

Anyone know what the problem is?

Thanks in advance!

This topic has been closed for replies.

1 reply

aimaobAuthor
Known Participant
August 12, 2011

I also tried Text -> Font Embedding on CS5.5 to embed the font, but the font still is not showing up properly on Android.

I am running out of ideas!

aimaobAuthor
Known Participant
August 12, 2011

OK.  I found out what the problem is. It is something else not relating to the embedded format & text engine that cause the problem.  The [Embed ....] format works.