Skip to main content
Inspiring
Nov 17, 2017 7:25 PM UTC
Answered

Embedded Fonts Issue Air 28

I'm using feathers SDK 3.3.1 (embedded font libs included).

All is well with AIR 27 - when I overlay Air 28 (AdobeAIRSDK) - the embedded fonts are no longer showing up.

This topic is closed to new replies. Start a new post to keep the conversation going.
Shubhendu_MishraCorrect answer
Adobe Employee
Nov 24, 2017 1:50 PM UTC

Thanks for sharing the information. We are investigating this issue.

Regards,

Adobe AIR Team


Hi Dews,

Please user latest AIR SDK 28 from http://labs.adobe.com/downloads/air.html and let us know if it works for you.

Regards,

Adobe AIR Team

7 replies

Adobe Employee
Nov 23, 2017 12:32 PM UTC

Hi,

Thanks for raising this issue but we are not able to reproduce this issue. Could you please share your Sample project so the we can investigate it.

Regards,

Adobe AIR Team

Translate
dewsAuthor
Inspiring
Nov 23, 2017 8:00 PM UTC

The sample project would consist of just a few lines of code..  Here are the steps to reproduce:

1. Use the Feathers installer to pull 3.3.1: https://feathersui.com/sdk/ - (be sure to include the embedded font libs)

2. Create a new Flex Project and point it to the Feathers SDK just downloaded.

3. Add an embedded font to your project - eg:

[Embed(source="assets/fonts/gothambold.ttf",  fontFamily="gothambold", mimeType="application/x-font", embedAsCFF="false")] public static const GothamBold :Class;

4. Use code:

var label :Label = new Label();

     label.textRendererFactory = function():ITextRenderer

     {

          var renderer :TextFieldTextRenderer = new TextFieldTextRenderer();

              renderer.embedFonts  = true;

          return renderer;

     }

     label.fontStyles = new starling.text.TextFormat( "gothambold", 15 );

     label.text = "Some test text";

this.addChild(label);

5. Run this on an iOS device and you'll see the text using the embedded font

6. Now overlay AIR 28 onto the SDK - run it again - and this time you won't see any text on the device.

Translate
Adobe Employee
Nov 24, 2017 11:31 AM UTC

Thanks for sharing the information. We are investigating this issue.

Regards,

Adobe AIR Team

Translate
Participating Frequently
Nov 21, 2017 3:45 PM UTC

more details: android - ok, desktop flash - ok, rolling the same project back to AIR 27 - ok. Starling's default verdana is ok too.

IOS + AIR28beta + any embeded font = fail

Translate
dewsAuthor
Inspiring
Nov 18, 2017 2:00 AM UTC

Android is working as expected - this issue is just affecting iOS on the device.

Note the code below that fails to render any text when the fontFamily is an embedded font.

var label :Label = new Label();

     label.textRendererFactory = function():ITextRenderer

     {

          var renderer :TextFieldTextRenderer = new TextFieldTextRenderer();

              renderer.embedFonts  = true;

          return renderer;

     }

     label.fontStyles = new starling.text.TextFormat( fontfamily, fontSize );

Translate