JDK-6964917 : EUDC char. is not displayed, but other chinese char. is done in WinVista and Win7 in jdk5u22
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt:i18n
  • Affected Version: 5.0u22
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2010-06-29
  • Updated: 2014-09-30
  • Resolved: 2011-10-10
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.
Other JDK 6 JDK 7 JDK 8
5.0u33 b08Fixed 6-poolResolved 7-poolResolved 8Resolved
Related Reports
Relates :  
Relates :  
Description
When CU inputs a user defined char. (gaiji) in JTextArea, the defined char. is not displayed
but other chinese char. appears in the JTextArea.


OS
-------
Windows Vista business SP1(Japanese, x86)
Windows Vista Ultimate SP1(Japanese, x86)
Windows 7 Pro. (Japanese, x86)

JDK ver.
-------
JDK5u22(x86)


REPRODUCE
-------
1. Invoke "eudcedit" command in command prompt window
2. Create a user defined char. and asign 0xF040(U+E000) to the char.
3. Execute TableExample.jar under demo\jfc\TableExample
  (invoke "java -jar TableExample.jar)
  One window including some JTextAreas shows up.
4. Input some Japanese char. in MS-IME and press "F5"
  IME pad shows up.
5. Select(click) the char. defined at the above step 2

  The char. defined at step 2 does not show up but another chinese char. does.

NOTE:
-This problem does not ossur in WindowsXP pro.(Japanese, SP2)
-This problem does not occur in JDK6u18.

Comments
SUGGESTED FIX Attached (fontonfig.properties.6964917).
15-07-2010

EVALUATION On Windows, HKSCS font includes some characters defined in PUA (Private Use Area, Range:E000���F8FF), and the font's file has been specified in the general font fallback path of Java. With J2SE 5.0, characters in PUA are displayed instead of user's defined characters (aka Gaiji). So, we remove the HKSCS font file from general fallback path and add it only to the path for Chinese locale. Note that this bug is reproducible on Windows XP if the HKSCS font is installed.
08-07-2010