当前位置:操作系统 > Unix/Linux >>

Fedora Core2的中文显示解决方案

Fedora Core2默认采用zh_CN.UTF8,建议不要采用
一、配置修改
1. 修改/etc/sysconfig/i18n中默认语言为zh_CN.GB23122. 修改/etc/profile 增加export LANG=c3. mount windows分区 mount -t vfat -o codepage=936,iocharset=gb2312,ro /dev/hda1 /mnt/c4. 安装zhcon0.2.3, 其中make过程报错,可手动去除断言或者configure中加入调试参数 或者#rpm -ivh zhcon0.2.3*.rpm http://rpmfind.net
二、字体安装 将Microsoft Windows下的相应TrueType拷贝到Fedora相应目录。我是放在/usr/share/fonts/windows目录下。然后以root执行下面的命令 #chmod -R 777 /usr/share/fonts/windows #cd /usr/share/fonts/windows #ttmkfdir . #cp fonts.scale fonts.dir #chkfontpath --add /usr/share/fonts/windows
以下是我安装的字体文件 (Arial) - arial.ttf arialbd.ttf arialbi.ttf ariali.ttf (Courier New) - cour.ttf courbi.ttf courbd.ttf couri.ttf (Tahoma) - tahoma.ttf tahomabd.ttf (Verdana) - verdana.ttf verdanab.ttf verdanai.ttf verdanaz.ttf (GB) - simsun.ttc (BIG5) - mingliu.ttc (KR) - batang.ttc gulim.ttc (JP) - msgothic.ttc msmincho.ttc
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,