invalid korean font file path in fontconfig.properties from sun-java6-bin

Bug #113494 reported by Dongsu Jang
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sun-java6 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: sun-java6-bin

there's invalid korean font file path in /etc/java-6-sun/fontconfig.properties:
/usr/share/fonts/truetype/batang.ttf -> .../truetype/baekmuk/batang.ttf
/usr/share/fonts/truetype/batang.ttf -> .../truetype/baekmuk/gulim.ttf

see following...

--- fontconfig.properties-orig 2007-05-09 12:18:37.000000000 +0900
+++ fontconfig.properties 2007-05-09 12:15:13.000000000 +0900
@@ -157,8 +157,8 @@
 # Font File Names

 filename.-misc-ar_pl_shanheisun_uni-medium-r-normal--*-*-*-*-p-*-iso10646-1=/usr/share/fonts/truetype/arphic/uming.ttf
-filename.-misc-baekmuk_batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/truetype/batang.ttf
-filename.-misc-baekmuk_gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/truetype/gulim.ttf
+filename.-misc-baekmuk_batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/truetype/baekmuk/batang.ttf
+filename.-misc-baekmuk_gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/truetype/baekmuk/gulim.ttf
 filename.-misc-sazanami_gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0=/usr/share/fonts/truetype/sazanami/sazanami-gothic.ttf
 filename.-misc-sazanami_mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0=/usr/share/fonts/truetype/sazanami/sazanami-mincho.ttf

Revision history for this message
Keechang Kim (keechang) wrote :

The following further changes should be made as well:

sequence.allfonts.UTF-8=latin-1,chinese-gb18030,korean
awtfontpath.korean=/usr/share/fonts/truetype/baekmuk

Revision history for this message
Masaki (masaki-katakai) wrote :

sequence.allfonts.UTF-8=latin-1,chinese-gb18030,korean

This line should be provided per locale. For example,

sequence.allfonts.UTF-8.ko=latin-1,korean
sequence.allfonts.UTF-8.ja=latin-1,japanese-x0208
sequence.allfonts.UTF-8.zh.CN=latin-1,chinese-gb18030
sequence.allfonts.UTF-8.zh.TW=latin-1,chinese-big5

I understand all asian language is now using UTF-8 locale, so
sequence.allfonts.UTF-8 should be prepared per language.

Revision history for this message
Matthias Klose (doko) wrote :

sun-java6 (6-01-0ubuntu1) gutsy; urgency=low

  * New upstream bug fix release. Closes LP: #115687.
  * Update fontconfig.properties for Japanese. Closes LP: #115573.
  * Update fontconfig.properties for Korean. Closes LP: #113494.

 -- Matthias Klose <email address hidden> Wed, 27 Jun 2007 13:07:58 +0200

Changed in sun-java6:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.