wrong metric for Chinese font in OpenJDK applications
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-6 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jaunty |
Fix Released
|
Undecided
|
Unassigned | ||
Karmic |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Fix Released
|
Undecided
|
Unassigned | ||
Maverick |
Fix Released
|
Undecided
|
Unassigned |
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://
Creating a link in /usr/lib/
Update: as pointed out by Man Yuan in Comment#4, the font paths for wqy-zenhei in fontconfig.
CVE References
- 2009-2409
- 2009-3728
- 2009-3869
- 2009-3871
- 2009-3873
- 2009-3874
- 2009-3875
- 2009-3876
- 2009-3877
- 2009-3879
- 2009-3880
- 2009-3881
- 2009-3882
- 2009-3883
- 2009-3884
- 2009-3885
- 2010-0082
- 2010-0084
- 2010-0085
- 2010-0088
- 2010-0091
- 2010-0092
- 2010-0093
- 2010-0094
- 2010-0095
- 2010-0837
- 2010-0838
- 2010-0840
- 2010-0845
- 2010-0847
- 2010-0848
tags: |
added: fonts removed: chinese cjk |
description: | updated |
Changed in openjdk-6 (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in openjdk-6 (Ubuntu): | |
status: | Confirmed → In Progress |
On 03.11.2009 16:30, Qianqian Fang wrote: jvm/java- 6-openjdk/ jre/lib/ fonts/fallback
> Creating a link in /usr/lib/
> 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