• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Embedded Fonts Issue Air 28

Engaged ,
Nov 17, 2017 Nov 17, 2017

Copy link to clipboard

Copied

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.

TOPICS
Air beta

Views

1.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Nov 24, 2017 Nov 24, 2017

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

Votes

Translate

Translate
Engaged ,
Nov 17, 2017 Nov 17, 2017

Copy link to clipboard

Copied

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 );

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 21, 2017 Nov 21, 2017

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 23, 2017 Nov 23, 2017

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Nov 23, 2017 Nov 23, 2017

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 24, 2017 Nov 24, 2017

Copy link to clipboard

Copied

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

Regards,

Adobe AIR Team

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 24, 2017 Nov 24, 2017

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Nov 24, 2017 Nov 24, 2017

Copy link to clipboard

Copied

LATEST

Nice, latest SDK 28 font issue resolved.

Ty!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines