openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #02613
[Bug 472845] [NEW] wrong metric for Chinese font in OpenJDK applications
Public bug reported:
OpenJDK does not display Chinese (or CJK) characters correctly. It
appears that all Han glyphs were displayed using wrong metric, and is
only half to 1/3 of the actual EM width.
A screenshot is attached to illustrate the problem. To reproduce, select
"OpenJDK Java 6 policy Tool" from the setting sub-menu, then select menu
File\Open and navigate into a folder with Chinese name.
Notice that the Chinese folder name "中文目录" in the top file name box is
only half-width, but the Chinese subfolder names in the left panel are
fine.
This was also reported previously in Ubuntu Chinese forum (in Chinese),
see http://forum.ubuntu.org.cn/viewtopic.php?f=8&t=221482
Creating a link in /usr/lib/jvm/java-6-openjdk/jre/lib/fonts/fallback
folder does not solve the problem. Also, OpenJDK does not follow the
fontconfig settings.
** Affects: openjdk-6 (Ubuntu)
Importance: Undecided
Status: New
** Tags: chinese cjk java
--
wrong metric for Chinese font in OpenJDK applications
https://bugs.launchpad.net/bugs/472845
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
Status in “openjdk-6” package in Ubuntu: New
Bug description:
OpenJDK does not display Chinese (or CJK) characters correctly. It appears that all Han glyphs were displayed using wrong metric, and is only half to 1/3 of the actual EM width.
A screenshot is attached to illustrate the problem. To reproduce, select "OpenJDK Java 6 policy Tool" from the setting sub-menu, then select menu File\Open and navigate into a folder with Chinese name.
Notice that the Chinese folder name "中文目录" in the top file name box is only half-width, but the Chinese subfolder names in the left panel are fine.
This was also reported previously in Ubuntu Chinese forum (in Chinese), see http://forum.ubuntu.org.cn/viewtopic.php?f=8&t=221482
Creating a link in /usr/lib/jvm/java-6-openjdk/jre/lib/fonts/fallback folder does not solve the problem. Also, OpenJDK does not follow the fontconfig settings.
Follow ups
-
[Bug 472845] Re: wrong metric for Chinese font in OpenJDK applications
From: Marc Deslauriers, 2010-08-12
-
[Bug 472845] Re: wrong metric for Chinese font in OpenJDK applications
From: Launchpad Bug Tracker, 2010-07-26
-
[Bug 472845] Re: wrong metric for Chinese font in OpenJDK applications
From: Launchpad Bug Tracker, 2010-07-22
-
[Bug 472845] Re: wrong metric for Chinese font in OpenJDK applications
From: Launchpad Bug Tracker, 2010-07-22
-
[Bug 472845] Re: wrong metric for Chinese font in OpenJDK applications
From: Launchpad Bug Tracker, 2010-07-15
-
[Bug 472845] Re: wrong metric for Chinese font in OpenJDK applications
From: Martin Pitt, 2010-07-15
-
[Bug 472845] Re: wrong metric for Chinese font in OpenJDK applications
From: Matthias Klose, 2010-07-14
-
[Bug 472845] Re: wrong metric for Chinese font in OpenJDK applications
From: muzuiget, 2010-06-08
-
[Bug 472845] Re: wrong metric for Chinese font in OpenJDK applications
From: Dancefire, 2010-06-07
-
[Bug 472845] Re: wrong metric for Chinese font in OpenJDK applications
From: Dancefire, 2010-06-06
-
[Bug 472845] Re: wrong metric for Chinese font in OpenJDK applications
From: Man Yuan, 2010-05-05
-
[Bug 472845] Re: wrong metric for Chinese font in OpenJDK applications
From: Qianqian Fang, 2010-05-05
-
[Bug 472845] Re: wrong metric for Chinese font in OpenJDK applications
From: Qianqian Fang, 2010-05-05
-
[Bug 472845] Re: wrong metric for Chinese font in OpenJDK applications
From: Man Yuan, 2010-05-05
-
[Bug 472845] Re: wrong metric for Chinese font in OpenJDK applications
From: Matthias Klose, 2010-03-22
-
[Bug 472845] Re: wrong metric for Chinese font in OpenJDK applications
From: Aron Xu, 2009-12-26
-
Re: [Bug 472845] [NEW] wrong metric for Chinese font in OpenJDK applications
From: Matthias Klose, 2009-11-10
-
[Bug 472845] Re: wrong metric for Chinese font in OpenJDK applications
From: Qianqian Fang, 2009-11-03
-
[Bug 472845] [NEW] wrong metric for Chinese font in OpenJDK applications
From: Qianqian Fang, 2009-11-03
References