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

Chinese text not displayed correctly with Spark components

    XMLWordPrintableJSON

Details

    Description

      Steps to reproduce:
      1. Create a Spark component that displays text (i.e. a TextInput, Label, Button etc.)
      2. Set the label to display some Chinese text
      3. Run the app in flashplayer under Windows and Linux

      Actual Results:
      When run under Windows, the international text displays perfectly as expected. When run under Linux, blank squares are produced instead of Chinese text.

      Expected Results:
      When run under Linux, it should display the correct Chinese text instead of blank squares.

      Workaround (if any):
      Either embed a Chinese font (for example c:/WINDOWS/Fonts/simhei.ttf) (not much of a solution, increases compiled swf to several megabytes in size), or only use Halo components (which appear to display Chinese text perfectly on both platforms).

      I've filed this as an SDK bug – please excuse me if this is incorrect. I figured because Halo components work fine while Spark do not, it's a problem with the SDK itself rather than Flash Player.

      I've enclosed a sample app which exhibits the behaviour, although it's very straightforward to reproduce.

      Thanks.

      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: