Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-22299

[localfix] Cannot embed fonts using CSS in a SWC

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Embedded Fonts
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Open attached CSSFontExample.zip and import the Library SWC and AIR Project Flex projects into Flash Builder 4.
      2. Build the Library which contains a defaults.css referencing a font to embed
      3. Try to build the AIR Project which should pull in the SWC as its template.

      Actual Results:
      The font cannot be transcoded because the @font-face directive was interpreted incorrectly by the compiler and the font does not get transcoded. Placing the font in the AIR project results in a build which shows the font was simply not embedded properly in the SWC.

      Expected Results:
      The font should be properly embedded in the SWC and it should not be necessary to place it in the final application.

      Workaround (if any):
      None.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: