|
|
系统中用的是雅黑,但是不知道为什么,中文字体还好,雅黑自带的英文字体常常显示得有些问题,比如图里的N W x等等,不知道能不能用特定的英文字体替换掉?
另外我很奇怪的是,有的时候这些字母显示正常,有时候不正常!比如第一张图里的标题里的N就正常,而正文里的N却不正常!
这个问题我查过,写了点东西在~/.fonts.conf里面,但是不知道为什么好像不管用,我把它复制到/etc/fonts/conf.d/也不管用
下面是~/.fonts.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="pattern">
<test qual="any" name="family" compare="eq">
<string>Microsoft YaHei</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Arial</string>
</edit>
<!--上面这几句似乎就是说字体替换的吧,但是似乎没有起作用,下面是对雅黑的微调吧-->
<edit name="rgba" mode="assign">
<const>none</const>
</edit>
<edit name="antialias" mode="assign" >
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintfull</const>
</edit>
</match>
</fontconfig> |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|