Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7130560

[macosx] AWT does not support bold and italic font style for asian text

    XMLWordPrintable

Details

    • 2d
    • x86
    • os_x

    Description

      Platform: Mac OS X 10.7.2
      Java: 7u4 b224

      Download attached zip file and extract it. There are two files in the zip file: CharViewTest.java and FontView.java. Try to compile the two files together.

      [jdkhome]/bin/javac CharViewTest.java
      [jdkhome]/bin/java CharViewTest

      The text displayed are chinese text of Unicode around 0x4E00. Try to select different font size, font style and components. The text can not be changed to font style bold or italic. While the English text at the top of the panel or at the beginning of each line can be changed to bold or italic. Chinese characters can only be displayed in plain font style on awt components.

      Attachments

        Issue Links

          Activity

            People

              bae Andrew Brygin
              yhuang Yong Huang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: