JDK-4113795 : JDK1.2 's java.awt.Font does not support Not-8859-1 character set on Windows
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.2.0
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: x86
  • Submitted: 1998-02-20
  • Updated: 1999-01-14
  • Resolved: 1999-01-14
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
1.2.0 1.2beta3Fixed
Related Reports
Relates :  
Description
[this is information that was improperly added to 4100565 after that bug was improperly marked verified]
The fix for 4100565 doesn't work on Windows because platform and script are read incorrectly.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.2beta3 FIXED IN: 1.2beta3 INTEGRATED IN: 1.2beta3
14-06-2004

SUGGESTED FIX [from 4100565, xueming.shen@Japan 1998-02-19] The platform and script are read from font file by our read_16() which reads date from file in bigedian format, so the platform and script are already correct, don't need "swap" both on sparc and x8086. *** /tmp/geta22953 Thu Feb 19 16:40:53 1998 --- fontObject.cpp Thu Feb 19 16:49:09 1998 *************** *** 812,819 **** gxFontPlatform platform; gxFontScript script; ! platform = SWAPW(platformID) + 1; ! script = SWAPW(scriptID) + 1; if (platform == gxUnicodePlatform || platform == gxMicrosoftPlatform || platform == gxCustomPlatform && script == gxCustom16BitScript) { --- 812,819 ---- gxFontPlatform platform; gxFontScript script; ! platform = (platformID) + 1; ! script = (scriptID) + 1; if (platform == gxUnicodePlatform || platform == gxMicrosoftPlatform || platform == gxCustomPlatform && script == gxCustom16BitScript) {
11-06-2004

EVALUATION Sherman has tested his fix, Jeet has reviewed it. norbert.lindenberg@Eng 1998-02-20
20-02-1998