〖Linux〗Ubuntu13.04解决Chrome的flash中文乱码的问题。


1. 安装flash

sudo aptitude install flashplugin-installer

2. 禁用chrome自带的flash插件

  在chrome浏览器中输入 chrome://plugins/

  点击右上角的“详细信息”,找到含有以下信息的插件并禁用

位置:    /opt/google/chrome/PepperFlash/libpepflashplayer.so

3. 修改字体设置,gvim /etc/fonts/conf.d/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>文泉驿正黑</string>
        </test>
        <test qual="all" name="family" compare="not_eq">
            <string>文泉驿正黑</string>
        </test>
        <test qual="all" name="family" compare="not_eq">
            <string>文泉驿正黑</string>
        </test>
        <edit name="family" mode="append_last">
            <string>文泉驿正黑</string>
        </edit>
    </match>
</fontconfig>

4. 关闭浏览器,注销当前用户登录,重新打开浏览器,即可生效。

 

其他参考:http://bulo.hujiang.com/u/18910610/diary/280382/


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM