修改linux系统下的字体

一剑行天下 posted @ 2010年1月31日 00:24 in 学习 , 1949 阅读

kang@kang-desktop:/
>$ cd etc/fonts/conf.avail

kang@kang-desktop:/etc/fonts/conf.avail
>$ sudo gedit 49-sansserif.conf

下面是49-sansserif.conf文件中的内容

If the font still has no generic name, add sans-serif
 -->
    <match target="pattern">
        <test qual="all" name="family" compare="not_eq">
            <string>sans-serif</string>
        </test>
        <test qual="all" name="family" compare="not_eq">
            <string>serif</string>
        </test>
        <test qual="all" name="family" compare="not_eq">
            <string>monospace</string>
        </test>
        <edit name="family" mode="append_last">
            <string> 文泉驿正黑</string>   //修改为<string> 文泉驿正黑</string>
        </edit>
    </match>
</fontconfig>


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter