Due to no taiwan fonts in Fedora Core 5. And SUN Java called a missing fonts to display. So No Chinese fonts(zh_tw and zh_cn) would be displayed in Java Control Panel in gnome or KDE. The fonts becomes little block on display.

The following is the mothed to fix:

1. In directory /usr/java/jre1.5.0_06/lib/

2. cp fontconfig.RedHat.properties.src fontconfig.RedHat.properties

3. For Big5(zh_TW)

Look for "filename.-arphic_technology_co.-ar_pl_mingti2l_big5-medium-r-normal--*-%d-*-*-c-*-iso10646-1
=/usr/share/fonts/zh_TW/TrueType/bsmi00lp.ttf" in file "fontconfig.RedHat.properties"

Change it to

For zh_CN

Look for "filename.-misc-zysong18030-medium-r-normal--*-%d-*-*-c-*-iso10646-1=
/usr/share/fonts/zh_CN/TrueType/zysong.ttf" in file "fontconfig.RedHat.properties"

Change it to

* Remember to logoff and logon to take effect because of the java_vm is running until user logged in.

Also if you want to correct the fonts path in chinese search as follows:

# AWT X11 font paths

Change them to



즉 FC5에서 중국어 폰트 디렉토리가 chinese이므로 zh_TW, zh_CN 을 chinese로 변경해주고
zysong.ttf, bsmi00lp.ttf가 없으므로 있는 uming.ttf로 고쳐줌..

Posted by 바나나쥬스

댓글을 달아 주세요