输入:
cd /etc/fonts/conf.d/
为了安全,备份一下:
sudo cp 49-sansserif.conf 49-sansserif.conf_backup
输入如下指令:
sudo gedit ./49-sansserif.conf
此时文件显示内容。
将其中的第1、2、4个后面的sans-serif或者serif用你自己系统中支持中文的字体的名字代替,注意字体名字的大小写
比如:我的系统中安装了微软雅黑,我则用微软雅黑代替上述所说的字段,结果如下:
<match target="pattern">
<test qual="all" name="family" compare="not_eq">
<string>微软雅黑</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>微软雅黑</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>monospace</string>
</test>
<edit name="family" mode="append_last">
<string>微软雅黑</string>
</edit>
</match>
Ubuntu下flash乱码解决
最新推荐文章于 2024-04-27 18:03:40 发布