ubuntu上firefox 中flash显示中文字体为方块解决方法

ubuntu下firefox 中flash显示中文字体为方块解决办法

xmarklet网络书签,收集自己的网络书签,创建自己的网站导航。
http://www.kmimagine.com/xmarklet/index.aspx





sudo gedit /etc/fonts/conf.d/49-sansserif.conf

用gedit 打开 49-sansserif.conf 文件

修改第二个sans-serif 改为simsun,

保存退出。


<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
  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">
                         <!--原来为sans-serif-->
<string>simsun</string>
</edit>
</match>
</fontconfig>

打开firefox,编辑-首选项-内容-高级-字符编码 改为GB2312

重启firefox。


xmarklet网络书签,收集自己的网络书签,创建自己的网站导航。
http://www.kmimagine.com/xmarklet/index.aspx