openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #02657
Re: [Bug 472845] [NEW] wrong metric for Chinese font in OpenJDK applications
On 03.11.2009 16:30, Qianqian Fang wrote:
> 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.
openjdk has it's own idea about fontconfig, and a separate config file
in
/etc/java-6-openjdk/fontconfig.properties
--
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.
References