今日試係 Linux 度行中文既 Java Application, 試過 Standard Out 出到中文但 Java 入面既 font 出唔到中文, 所以係網上搵到呢個方法.
設置中文字型
cd /usr/java/jre1.6.0_03/lib/fonts
mkdir fallback
cd fallback
ln -s /usr/share/fonts/chinese/TrueType/uming.ttf
mkfontdir
mkfontscale
Tags: font, java, linux
This entry was posted
on Friday, February 22nd, 2008 at 4:28 pm and is filed under os.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.