|
发表于 2007-8-6 20:50:45
|
显示全部楼层
登陆到root
# cd /usr/ports/chinese/kde3-i18n-zn_CN
# make install clean
# cd /usr/ports/chinese/ttfm
# make install clean
# mkdir /usr/local/share/fonts
# mkdir /usr/local/share/fonts/TrueType
# cp xxxx.ttf /usr/local/share/fonts/TrueType/ (xxxx.ttf为一个TrueType汉字字库文件,比如simsun.ttc)
# ttfm.sh --add xttfm /usr/local/share/fonts/TrueType/xxxx.ttf
登陆到普通用户(假设为bash shell),在.bash_profiel加入:
export LC_CTYPE='zh_CN.eucCN'
export LANG='zh_CN.eucCN'
export LC_ALL='zh_CN.eucCN'
在.xinitrc加入exec startkde
再:
$ rm -rf .kde
重新登陆
$ startx |
|