티스토리 뷰
Fix chinese fonts display problem in Fedora Core 5 (Updated in both zh_tw and zh_cn)
바나나쥬스 2006. 12. 11. 15:09Due 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
"filename.-arphic_technology_co.-ar_pl_mingti2l_big5-medium-r-normal--*-%d-*-*-c-*-iso10646-1
=/usr/share/fonts/chinese/TrueType/uming.ttf"
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
"filename.-misc-zysong18030-medium-r-normal--*-%d-*-*-c-*-iso10646-1=
/usr/share/fonts/chinese/TrueType/uming.ttf"
* 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
awtfontpath.chinese-tw-iso10646=/usr/share/fonts/zh_TW/TrueType
awtfontpath.chinese-cn-iso10646=/usr/share/fonts/zh_CN/TrueType
Change them to
awtfontpath.chinese-tw-iso10646=/usr/share/fonts/chinese/TrueType
awtfontpath.chinese-cn-iso10646=/usr/share/fonts/chinese/TrueType
http://fedoranews.org/cms/node/874
즉 FC5에서 중국어 폰트 디렉토리가 chinese이므로 zh_TW, zh_CN 을 chinese로 변경해주고
zysong.ttf, bsmi00lp.ttf가 없으므로 있는 uming.ttf로 고쳐줌..
- Total
- Today
- Yesterday
- 노래
- 공연
- 서울숲별밤축제
- 인디
- 신주쿠
- 락
- 도쿄
- android
- 포스트크로싱
- 사진
- epik high
- 일기
- 음악
- 진해
- Linux
- 야마다 타카유키
- 에픽하이
- 코이데 케이스케
- 일어일기
- 영화
- 여행
- Mac
- 일본
- postcrossing
- 아사가야
- Java
- 드라마
- 안드로이드
- 잡담
- 책
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |