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

Is this a bug? mx.controls.Text zoom issue with wrapped text.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Adobe Flex SDK Previous
    • None
    • mx: Text
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      We have created a diagram drawing tool in Flex, but we are having a serious issue with zooming. Everything zoom fine expect the Text control if it contains wrapped text. At certain zoom levels, some of the text seems to disappear (usually text at the end). I have tried everything, embedding fonts, turning anti-aliasing on and off, setting anti-aliasing to normal or advanced, but it doesn't seem to fix the problem. Is this is a known bug?

      If you check out the pictures (see attachments), you will see that the part of the text ('34') disappears at a certain zoom level. This doesn't happen if the text is not wrapped.

      There is another blog who suggest to embed the font and set the antiAliasType to 'animation' (http://www.mehtanirav.com/2008/08/20/zooming-text-area-in-flex-messes-up-word-wr ap-bug%20), but this doesn't seem to work for me either. I don't know if I am doing this correctly though, but I embedded a font and called text.setStyle("fontAntiAliasType","animation"). However, 'animation' is not one of the AntiAliasType contants. According to the official documentation, the AntiAliasType constants are 'advanced' or 'normal'.

      Any help will be appreciated.

      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: