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

[Gumbo_Priority] Embedded font around device font causes inner bold/italic to be lost

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • Spark: RichText
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile and run the attached app (you may have to change the path to the Myriad Pro font)
      2. Comment out the <fx:Style> block and compile and run it again

      Actual Results:
      In step 1, the second text item appears entirely in a plain (non-bold) font, even though the content is exactly the same as the first text item. The difference is that the text item has an embedded Myriad Pro specified on the outer RichText tag. In step 2, you can see that removing the embedding of Myriad Pro makes the two items render the same.

      Expected Results:
      Both items should render the same regardless of whether the outer tag has an embedded font specified.

      Workaround (if any):fontLookup="device" solves the problem
      <s:RichText color="#000000" fontFamily="Myriad Pro" fontLookup="auto" fontSize="12" x="10" y="281">
      <s:content><s fontFamily="Arial" fontWeight="bold" fontLookup="device">fontFamily="Arial" fontWeight="bold" inside Myriad Pro</s></s:content>
      </s:RichText>

      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: