Document Actions
把英文字母的字体设置成小1号
通过 fontconfig 配置,把英文字母的字体设置成比汉字字体小1号。
通过 fontconfig 的配置文件,使英文字母的字体设置成比汉字字体小1号。
在家目录下的 ".fonts.conf" 中加入如下内容,如果 ~/.fonts.conf 已经存在,则把下面的 match ... 部分加入到其中的 fontconfig 中即可。
~/.fonts.conf:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/fonts.conf file to configure system font access -->
<fontconfig>
<match target="pattern">
<test name="lang" compare="not_eq">
<string>zh-cn</string>
</test>
<edit name="size" mode="assign">
<minus><name>size</name><int>1</int></minus>
</edit>
</match>
</fontconfig>
感谢 xLoneStar 提供的配置方法。
参考: "Fontconfig 使用手册":...
效果图:

