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

Using textDecoration = underline and textAlign = center on a Text control with Arial as an embedded font yields inconsistent underline lengths

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.5 (Release)
    • None
    • mx: Text
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Internet Explorer 7.x
      Language Found: English

    Description

      Steps to reproduce:

      1. Compile the attached MXML file.

      Actual Results:

      The underline length falls short for the embedded Arial font when the font size is 12 or less.

      Expected Results:

      The underline is the same length as the textWidth, that is to say, the line length.

      Workaround (if any):

      This appears to be a consistent bug across all systems I've tried, granted these are all running XP Pro SP3. Using a font size larger than 12 solves this problem, as shown in the attached image, but this may not be desirable in some (okay a lot) of cases. Ditto with using a different font. Arial is pretty ubiquitous, so one would expect to see this issue pop up more often.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: