shjy.nicholas 发表于 2013-1-15 14:13:57

Ubuntu 下Firefox中Flash中文乱码

引起乱码的原因主要是49-sansserif.conf文件的配置问题。
为保险起见,建议先备份49-sansserif.conf,
具体操作如下:
sudo cp /etc/fonts/conf.d/49-sansserif.conf /etc/fonts/conf.d/49-sansserif.conf.bak
然后用gedit,vim,随便哪个你常用的编辑工具,
将其中的match的子节点修改为:

<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>

重新刷新Firefox,好了吧?
页: [1]
查看完整版本: Ubuntu 下Firefox中Flash中文乱码