ubuntu下opera、firefox等打开flash网站汉字显示方块的解决方法

时间: 2008-06-18 / 分类: Linux / 浏览次数: 6,285 / 0个评论 发表评论

ubuntu8.04简体中文版,安装了opera 9.5、firefox 3、netscape navigator9.0.0.6、flock1.21,结果打开有flash的网站时汉字都显示成方块了,怎么解决呢? 打开/etc/fonts/conf.d/目录 备份49-sansserif.conf 然后sudo gedit 49-sansserif.conf

<?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>wqy-zenhei</string> </test> <test qual=”all” name=”family” compare=”not_eq”> <string>wqy-zenhei</string> </test> <test qual=”all” name=”family” compare=”not_eq”> <string>monospace</string> </test> <edit name=”family” mode=”append_last”> <string>wqy-zenhei</string> </edit>
</match>
</fontconfig>

里面wqy-zenhei的位置改为你的系统所支持的字体,一般ubuntu8.04都有文泉驿正黑,所以改成跟上面的一样就行了

发表评论

您的昵称 *

您的邮箱 *

您的网站