JDK-6589722 : Incorrect font rendering in applets in Japanese locales
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u4
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2007-08-06
  • Updated: 2010-08-07
  • Resolved: 2007-08-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6u4Resolved
Related Reports
Duplicate :  
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).

Comments
EVALUATION This problem never made it back to the master workspace. I'm closing it as a duplicate of the patch in place work, which is what introduced it. This will simplify the approval process. If this problem still exists, then please mark 6404664 as "fix failed".
20-08-2007

EVALUATION This is actually an installer bug, a charsets.jar file is packed in $JRE/lib directory (still show charsets.pack), therefore Java plugin can't load Japanese charactors. A similiar issue is for localedata.jar file in $JRE/lib/ext file, it is still show as localedata.pack file, this need to be fixed as well.
09-08-2007