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

No Font-Embedding using AIR 3.0 in Flash Professional (for iOS Development)

New Here ,
Sep 26, 2011 Sep 26, 2011

Copy link to clipboard

Copied

Hey there,

we're developing some plain AS3 projects using Flash Professional (to compile) and Flash Builder.

All is working good with the new AIR 3.0 release and performance is better than with AIR 2.6

I followed this tutorial and simlar to use AIR 3.0 instead of AIR 2.6:

http://kb2.adobe.com/cps/908/cpsid_90810.html

Sadly today we saw a new issue with font embedding. Neither using Flash Professional itself or Embed-Tag in the code itself works. Also we see that the SWF size does not change when adding multiple fonts.

Anybody has a clue where this issue might be caused? I can think that the way fonts are embedded has changed in AIR 3.0 and it's not working with the "replace AIR 2.6 with AIR X.Y trick".

Any help welcome.

Best,

Cedric

TOPICS
Performance issues

Views

9.3K

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 , Sep 26, 2011 Sep 26, 2011

Votes

Translate

Translate
Adobe Employee ,
Sep 26, 2011 Sep 26, 2011

Copy link to clipboard

Copied

Hi Cedric,

I'm going to ask around about this to see if anyone knows what might be going on.  In the meantime, could you please open a new bug report on this over at bugbase.adobe.com?  Please post back with the URL so that others affected can add their comments and votes.

Thanks,

Chris

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 ,
Sep 26, 2011 Sep 26, 2011

Copy link to clipboard

Copied

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 ,
Sep 27, 2011 Sep 27, 2011

Copy link to clipboard

Copied

No issues exit using AIR 3.0 in Flash Professional CS5.5 with a sample app.This app was created according to this article at http://www.adobe.com/devnet/flash/quickstart/embedding_fonts.html.

P.S. please make sure the swf version has been changed to 13 when modifying the AiriPhone.xml.

If there is still an issue,it will help a lot with a sample code to reproduce this problem.

Thanks

Liping

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
New Here ,
Sep 27, 2011 Sep 27, 2011

Copy link to clipboard

Copied

Hey there,

thanks for the help and advice.

Still not working. But I'm playing with several other files to check for wrong version number.

One thing I see is that still the version 11 textlayout.swc is used. Is that maybe the problem?

What file to change if I want to see this also working in Flash Debug View? AdobeAIR2_6.xml? FlashPlayer10_2.xml?

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
New Here ,
Sep 27, 2011 Sep 27, 2011

Copy link to clipboard

Copied

Hi,

now I got it working unsing TextField instead of TLFTextField and including the fonts as symbol in the FLA-file (instead of embed tags).

Should TLFTextField also work?

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
New Here ,
Sep 27, 2011 Sep 27, 2011

Copy link to clipboard

Copied

Hi again,

may I need Flex 4.6 pre-release?

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
New Here ,
Sep 29, 2011 Sep 29, 2011

Copy link to clipboard

Copied

LATEST

Hi again,

The problem was the TLFTextField itself. Strangely in debug on my Mac fonts showed of correctly, but on the device not. So I assumed that there was an problem of embedding.

But after changing setDefaultFormat to setFormat, then setting the tlftextfield.htmlText = ".." and after that doing tlftextfield.textFlow.flowComposer.updateAllControllers(); it works on the device.

Strange to me, that with active fonts on my Mac it works without updateAllControllers - but on the devices not.

Thanks for the hints.

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