JDK-6690600 : TextLayout bounds can't render correctly and characters are rendered as square box
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt:i18n
  • Affected Version: OpenJDK6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_ubuntu
  • CPU: x86
  • Submitted: 2008-04-18
  • Updated: 2010-07-29
  • Resolved: 2008-04-24
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
OpenJDK6Resolved
Related Reports
Duplicate :  
Description
platform: ubuntu 8.0.4 
locale: zh_CN.UTF-8
build: open jdk6 b05

TextLayout bounds can't render correctly and some characters are rendered as square box when we ran TextLayout2DRenderTest for open jdk6 b05 on ubuntu 8.0.4 .
openjdk_ubuntu_zh_CN-TextLayout2DRenderTest.jpg is this bug screenshot in attachment.
businessjdk_RedHat_TextLayout2DRenderTest.jpg is correct screenshot in attachment.

To reproduce the bug:
1. Install open jdk6 b05
2. Install test tools GS-Tonga_12.zip
3.Set test environment
4. run runnit.sh script: sh runnit.sh -keywords:"zh_CN&&manual" 
5. Follow to TextLayout2DRenderTest. 
6. Note magenta TextLayout bounds and some characters are rendered as square box

Or reproduce the bug by TextLayout2DRenderTest.jar in attachment:
1. Execute "$JAVA_HOME/bin/java -jar TextLayout2DRenderTest.jar"
2. Note magenta TextLayout bounds and some characters are rendered as square box.

Comments
EVALUATION Currently, Ubuntu isn't a supported platform under Sun's JDK. The font configuration file for Ubuntu found in 6-open doesn't support Chinese. Closing this CR as a duplicate of 6551584.
24-04-2008