Quantcast
Viewing all articles
Browse latest Browse all 2010

AFEFontManager in Adobe AIR 18 . How to embed fonts now?

I have been building my games using FlashDevelop with Flex SDK compiler all the time, but now I need ASC 2.0 with adobe air. So I have migrated to it. But one problem came out, which I just can't find a solution for. I need to embed TTF fonts, which I used to always add additional compiler option -managers=flash.fonts.AFEFontManager for. In this new AIR SDK all I get is the next warning:

command line Warning: 'compiler.fonts.managers' is not fully supported.

And of course fonts do not embed. Is there a solution for it?

Here's how I embed them

[Embed(source = "VERDANA.TTF", fontName = "verdana")]
private static var Verdana: Class;

So, how can I embed fonts in AIR 18?


Viewing all articles
Browse latest Browse all 2010

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>