热门关键字:  ubuntu  分区  函数  Fedora  linux系统进程

当前位置 :| 主页>Linux发行版>LFS>

我的LFS桌面应用问题解决办法

来源: 作者: 时间:2007-11-20 Tag: 点击:

b)建议复制几个Windows字体,Linux显示中文要依赖它们:
cp -vR {arial.ttf,\
    simsun.ttc,\
    simhei.ttf,\
    simkai.ttf,\
    times.ttf,\
    monos.ttf,\
    sans.ttf} /usr/share/fonts/TrueType
cd /usr/share/fonts/TrueType
mkfontscale
mkfontdir

c)简单美化一下
cat /etc/fonts/local.conf <<EOF
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!--/etc/fonts/local.conf-->
<fontconfig>
    <dir>/usr/share/fonts/TrueType/</dir>
    <dir>~/.fonts</dir>
    <dir>/usr/X11R6/lib/X11/fonts</dir>

<!--default settings for all fonts. -->

<match target="font">

<!-- Open AA-->
    <edit mode="assign" name="antialias">
        <bool>true</bool>
    </edit>
    <edit mode="assign" name="hintstyle">
        <const>hintslight</const>
    </edit>

<!-- Open hint-->
    <edit mode="assign" name="hinting">
        <bool>true</bool>
    </edit>
<!-- Close autohint-->
    <edit mode="assign" name="autohint">
        <bool>false</bool>
    </edit>
</match>

<!--English monospace Close-->
<match target="font">

    <test target="pattern" name="lang" compare="contains">
        <string>zh-tw</string>   
        <string>zh-cn</string>   
        <string>ja</string>   
        <string>ko</string>   
    </test>

    <edit name="spacing">
        <const>proportional</const>
    </edit>

    <edit name="globaladvance">
        <bool>false</bool>
    </edit>
</match>
</fontconfig>
EOF


d)下面是各种字符集编码名称
    zh_CN.gb2312    # 国标码,WindowsXP系统默认的编码
    zh_CN.gbk
    zh_CN.gb18030
    zh_CN.utf8
    en_US.utf8
    cp936           # 应该就是指gb2312吧
    euc-cn          # 不知道是不是gb2312
    iso10646-1      # 网上搜一下吧,我也不知道啥玩意儿,gbk?

上一篇:没有了
下一篇:没有了
最新评论共有 4 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册