When I embed font it is working fine when I debug with Flash Builder. But when I compile app it does not work on device.
This is how I embed font:
[Embed(source="../../../assets/fonts/life_is_goofy.ttf", fontFamily="Life is goofy", fontWeight="normal", mimeType="application/x-font", embedAsCFF="false")] protected static const SOURCE_LIFE_IS_GOOFY_REGULAR:Class;
What am I doing wrong?
It does not work on Android and iOS. I have tested it on iPhone 6s, iPad Air 2 and Samsung Galaxy 6 edge but it does not work on any device.
On all devices above it falls back to default font instead of using embedded font.