Bugzilla – Bug 1157
CJK characters can not be displayed in java on Indiana
Last modified: 2008-04-22 21:11:23 UTC
You need to log in before you can comment on or make changes to this bug.
CJK (Chinese, Japanese, Korean) characters can not be displayed in java on Indiana. Indiana (May release) includes the following redistributable CJK fonts. Japanese (SUNWttf-ipafont) - live CD /usr/X11/lib/X11/fonts/TrueType/ipafont/*.ttf Chinese (SUNWttf-arphic-uming) - live CD /usr/X11/lib/X11/fonts/TrueType/arphic/uming.ttf Chinese (SUNWttf-arphic-ukai) - OS.O repository /usr/X11/lib/X11/fonts/TrueType/arphic/ukai.ttf Korean (SUNWgnome-fonts) - live CD /usr/X11/lib/X11/fonts/TrueType/{batang.ttf,dotum.ttf,gulim.ttf,hline.ttf} /usr/java/jre/lib/fontconfig.properties.src and fontconfig.bfc need to be updated for Indiana. FYI, these fonts also have been included since snv_86, but path is not /usr/X11, but /usr/openwin as of today.
Fuyuki, are the only change the paths or are there other changes that need to be made to the configuration file(s) you mentioned?
Both font paths and font names need to be updated. If we only change the font path like below, japanese chars can be displayed, but it's not legal. < filename.-ricoh-hg_mincho_l-medium-r-normal--*-%d-*-*-m-*-jisx0208.1983-0=/usr /openwin/lib/locale/ja/X11/fonts/TT/hgmlsun.ttf --- > filename.-ricoh-hg_mincho_l-medium-r-normal--*-%d-*-*-m-*-jisx0208.1983-0=/usr /X11/lib/X11/fonts/TrueType/ipafont/ipag.ttf
Fixing this as part of my other packaging work.
*** Bug 1438 has been marked as a duplicate of this bug. ***
Fixed in changeset c28da428c909470e9a278226d7a805150bc840c7.