文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>ubuntu9.04安装完flash后乱码问题

ubuntu9.04安装完flash后乱码问题

时间:2009-05-27  来源:苦行僧

ubuntu9.04安装完flash后乱码问题。

分类: Linux | 标签: ubuntu | 日期:2009-05-03

安装完ubuntu9.04后再给firefox安装flash后出现中文乱码现象,特别在一些以flash开发的网页游戏尤其明显,严重影响用户的体验。解决方法很简单,如下:

打开终端,输入:

cd /etc/fonts/conf.d/

备份一下(我倒觉得多此一举):

sudo cp 49-sansserif.conf 49-sansserif.conf_backup

然后输入一下命令:

sudo gedit ./49-sansserif.conf

此时将显示一个文件

然后安装下面的将你的系统字体名称添上去保存即可:

比如我使用的是“文泉驿正黑”字体,则将 <string>文泉驿正黑</string>  间的 文泉驿正黑 改成你的字体。

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

相关阅读 更多 +
排行榜 更多 +
龙珠格斗火柴人

龙珠格斗火柴人

飞行射击 下载
荒野恐龙猎手安卓版

荒野恐龙猎手安卓版

飞行射击 下载
超凡坦克英雄

超凡坦克英雄

飞行射击 下载