Ubuntu9.04,9.10的FLASH中文乱码解决方案

1.打开命令行终端,执行:cd /etc/fonts/conf.d/

Tip:为了安全,备份一下字体配置文件:

sudo cp 49-sansserif.conf 49-sansserif.conf_backup2

以管理员权限用gedit打开 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>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>

3.将其中的第4个<string>后面的sans-serif或者serif用你自己系统中支持中文的字体的名字代替,注意字体名字的大小写.

比如:我的系统中安装了wqy-zenhei.ttf,我则用wqy-zenhei代替上述所说的字段:

我的系统修改后的文件如下所示(注意:个人根据自己的实际情况修改)

Tip:如果替换第四个没有作用,就将第1,第2,第4全都换掉

自:http://www.linux.cn/home/space-3971-do-blog-id-196.html

Popularity: -0% [?]

Related posts:

  1. Ubuntu Linux 常见问题解决方案
  2. 首款支持實時防護的 Linux 桌面版殺毒軟件出現——NOD32 A4 for Linux Desktop
  3. LInux mint(Ubuntu)更改默认启动顺序
  4. linux账户管理
  5. linux 救援模式–rescue mode
Share this Post:
Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

One Response to “Ubuntu9.04,9.10的FLASH中文乱码解决方案”

[...]    1、FLASH乱码问题。在终端里面执行: cd /etc/fonts/conf.d/ sudo cp 49-sansserif.conf 49-sansserif.conf_backup sudo rm 49-sansserif.conf   第二种方法http://www.linusing.com/ubuntu9-049-10%e7%9a%84flash%e4%b8%ad%e6%96%87%e4%b9%b1%e7%a0%81%e8%a7%a3%e5… [...]

Leave a Reply:

Name (required):
Mail (will not be published) (required):
Website:
Comment (required):
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>