|
0、由于没准备用kde,所以没安装i18n语言支持
1、设置locale
vi /etc/profile.d/lang.sh
export LANG=en_US
export LC_CTYPE=zh_CN.UTF-8(文泉驿推荐用这个编码)
#export LC_COLLATE=C
——————————————————————————
这里参考了论坛精华贴
2、cp wqy-bitmapfont-ttf-0.7.0-4.tar.gz /tmp
3、cd /tmp
tar zxvf wqy-bitmapfont-ttf-0.7.0-4.tar.gz 得到 wqy-bitmapfont目录
4、mv /tmp/wqy-bitmapfont /usr/share/fonts/chinese (理论上可以移动到任意目录,但文泉驿推荐使用上述目录,注意取得root权限)
5、cd /usr/share/fonts/chinese/wqy-bitmapfont
rm fonts*
mkfontscale(不要运行mkfontdir,生成的fonts.dir居然什么都没有)
cp fonts.scale fonts.dir
xset +fp
6、vi /etc/X11/xorg.conf
在FontPath 添加 /usr/share/fonts/chinese/wqy-bitmapfont
vi /etc/fonts/fonts.conf
添加 <dir>/usr/share/fonts/chinese/wqy-bitmapfont <dir>
7、fc-cache -v -f
不知道哪错了,进入x后,中英文字体均无法显示,哭~~~~~~~~~ |
|