Skip navigation
Currently Being Moderated

Unable to embed OTF font in AIR 3.7 SDK

Jul 5, 2013 1:46 AM

Tags: #otf #air_3.7 #font_embedding_issues

Hi,

 

Today we have migrated AIR SDK from 3.6 to 3.7. After migration we got lot of issues related to font embedding:

 

 

DescriptionResourceType
exception during transcoding: Font for alias 'AvenirLTStdBlack' with plain weight and style was not found at: file:/D:/Project/src/assets/fonts/std-95-black.otfglobal.cssFlex Problem

 

 

The above mentioned font is working fine with Flex 4.6 + AIR 3.6 SDK.

 
Replies
  • Currently Being Moderated
    Jul 5, 2013 2:06 AM   in reply to Sumit Jain

    We are facing same kind of problem, please help

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 5, 2013 2:19 AM   in reply to Sumit Jain

    Guys.. I am also facing such a issue...Is anyone having a solution to this issue?? Any help will be highly appreciated.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 5, 2013 8:03 AM   in reply to Sumit Jain

    I'm not sure all AIR SDKs are set up as overlays for a Flex SDK.  Make sure the font libraries are listed in your flex-config.xml and those libraries/jars actually exist.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 24, 2013 6:02 AM   in reply to Sumit Jain

    We were also facing the same issue. The issue was to do with merging of Flex SDK and AIR SDK. The airmobile-config.xml file in the frameworks folder of the AIR 3.8 SDK was 6 KB where as the same file in the 3.5 SDK was 15 KB. Compared them both and realized a lot of namespaces and libraries have not been defined in the new one.

     

    Replaced the new airmobile-config.xml with the one in the 3.5 SDK and changed the value of "target-player" node to 11.8 and "swf-version" node to 21.

     

    This solved the issue and I was able to compile the fonts correctly.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points