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

Incorrect font rendering in applets in Japanese locales

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      ###@###.### indicates that with the 6u4 early access build, font rendering appears to be broken in the Japanese locale for some AWT components:

      -----
      I've tested several Japanese applets and noticed that Japanese characters are not displayed at all in some AWT components (Label, Button, etc.). SunTEA is one of those applets. (See the attached image.) I checked locale/charset related properties, but they looked OK. The symptom is reproducible both on Firefox (2.0.0.6) and IE 7 on Windows XP. I haven't tried other platforms.

      I've uninstalled the Consumer JRE which enabled 1.6.0_02. Then, SunTEA worked fine.
      -----

      Screen shot is attached.
      This can also be demonstrated with a regression test case, can be found at
      test/java/awt/font/CharView/CharView.java
      1. [jdk]/bin/javac CharView.java
      2. [jdk]/bin/java CharView
      3. type 3000 for the hiragana and katakana range
      4. select Button, Checkbox, Label, or Radio Button as drawing method, notice all the hiragana and katakana characters are missing; while JLabel or JTextField and other methods all display fine.

      This is only reproducible with Consumer JRE, not reproducible with JDK7 b17, nor 6u3 b2.
      So the bug subcategory should probably be java/classes_awt, and specifictly in 6u4 (consumer jre).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                billyh William Harnois
                Reporter:
                kbr Kenneth Russell (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: