Ubuntu 安装flash 乱码解决方法
来源:互联网 发布:黄金罗盘 知乎 编辑:程序博客网 时间:2024/05/16 01:41
http://www.linuxdiyf.com/bbs/thread-135948-1-1.html
Ubuntu 安装flash 乱码解决方法
解决方法如下
打开终端,输入以下命令:
cd /etc/fonts/conf.d/
sudo cp 49-sansserif.conf 49-sansserif.conf_backup
sudo rm 49-sansserif.conf
以上命令的功能是先备份49-sansserif.conf文件,再删除,经测试后有效。(来源:PenguinOL)
===============================================================================
ubuntu flash乱码
另外如果出现flash乱码现象,可以用以下两条命令解决:
sudo cp /etc/fonts/conf.d/49-sansserif.conf /etc/fonts/conf.d/49-sansserif.conf.bak
sudo rm /etc/fonts/conf.d/49-sansserif.conf
对于linux下使用ff的朋友,一定要注意字体是否很合适,不合适的字体会严重降低ff的绘制能力,尽量不能使用压缩的字体并且考虑使用ttf字体,推荐文泉译正黑字体http://wenq.org/?ZenHei
打开终端,执行:
cd /etc/fonts/conf.d/
为了安全,备份一下字体配置文件:
sudo cp 49-sansserif.conf 49-sansserif.conf_backup
以root身份打开:
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>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">
<string>sans-serif</string>
</edit>
</match>
</fontconfig>
如上所示,将其中的第1、2、4个<string>后面的sans-serif或者serif用你自己系统中支持中文的字体的名字代替,注意字体名字的大小写
比如:我的系统中安装了wqy-zenhei.ttf,我则用wqy-zenhei代替上述所说的字段:
我的系统修改后的文件如下所示(注意:个人根据自己的实际情况修改)
<?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>
- Ubuntu 安装flash 乱码解决方法
- Ubuntu下Flash乱码的解决方法
- ubuntu 9.10 flash 中文 乱码 解决方法
- ubuntu flash中文乱码 的解决方法
- Ubuntu Flash中文乱码、方块字解决方法
- Ubuntu-Firefox安装Adobe Flash后乱码
- Ubuntu浏览FLASH时出现中文乱码的解决方法
- [Ubuntu]flash中文显示乱码(方块) 解决方法
- ubuntu firefox flash显示乱码问题的解决方法
- Ubuntu flash 乱码 (显示为方块) 解决方法
- Ubuntu下Firefox中Flash出现乱码的解决方法
- Ubuntu安装 Oracle 11g乱码解决方法!
- Ubuntu 安装Navicat,界面出现乱码解决方法
- Ubuntu 安装Navicat,界面出现乱码解决方法
- ubuntu flash中文乱码
- ubuntu flash中文乱码
- ubuntu flash 乱码解决
- ubuntu flash 中文乱码
- 基于funambol ds 的云同步服务研究(四)-源码的研究摘记
- Ext.data.Store中JsonReader 属性值获取方法
- Understanding Ruby Blocks, Procs and Lambdas
- apache mina开发同步通信客户端
- 完全理解关键字this
- Ubuntu 安装flash 乱码解决方法
- 基于linux系统下的mysql自动备份
- Hbase API开发实例(Java版)
- 使用C#开发ActiveX控件
- 看Facebook的“黑客方式”
- 编译VLC时碰到的gettext问题
- 尾递归
- Android当中的常用控件
- css 总结 【垂直居中】【图片下方文字】