如何解决大智慧Flash股票行情字体的中文乱码?

系统字体配置、中文显示和输入法问题
回复
uou
帖子: 10
注册时间: 2008-12-13 16:10
送出感谢: 0
接收感谢: 0

如何解决大智慧Flash股票行情字体的中文乱码?

#1

帖子 uou » 2008-12-18 11:52

大智慧Flash股票行情
http://www.gw.com.cn/main.html

中文都是方框框,请问如何解决?
誉不可以巧而立!
fenwu1979
帖子: 62
注册时间: 2007-01-27 13:18
送出感谢: 0
接收感谢: 0

Re: 如何解决大智慧Flash股票行情字体的中文乱码?

#2

帖子 fenwu1979 » 2008-12-18 12:05

两种方法:
1.sudo gedit /etc/fonts/conf.avail/69-language-selector-zh-cn.conf
我的配置文件:
<fontconfig>

<match target="pattern">
<test qual="any" name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Microsoft YaHei</string>
<string>AR PL UMing CN</string>
<string>AR PL ShanHeiSun Uni</string>
<string>WenQuanYi Bitmap Song</string>
<string>Bitstream Vera Serif</string>
<string>DejaVu Serif</string>
<string>AR PL UKai CN</string>
<string>AR PL ZenKai Uni</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Microsoft YaHei</string>
<string>Bitstream Vera Sans</string>
<string>DejaVu Sans</string>
<string>WenQuanYi Zen Hei</string>
<string>AR PL UMing CN</string>
<string>AR PL ShanHeiSun Uni</string>
<string>WenQuanYi Bitmap Song</string>
<string>AR PL UKai CN</string>
<string>AR PL ZenKai Uni</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>monospace</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Bitstream Vera Sans Mono</string>
<string>DejaVu Sans Mono</string>
<string>Microsoft YaHei</string>
<string>WenQuanYi Zen Hei</string>
<string>AR PL UMing CN</string>
<string>AR PL ShanHeiSun Uni</string>
<string>WenQuanYi Bitmap Song</string>
<string>AR PL UKai CN</string>
<string>AR PL ZenKai Uni</string>
</edit>
</match>

</fontconfig>
看到没有,<string>Bitstream Vera Sans</string>排第一的话,铁定乱码

2.删除/etc/fonts/conf.avail/49-sansserif.conf 或改名
uou
帖子: 10
注册时间: 2008-12-13 16:10
送出感谢: 0
接收感谢: 0

Re: 如何解决大智慧Flash股票行情字体的中文乱码?

#3

帖子 uou » 2008-12-18 12:23

谢谢,回去试一试!
誉不可以巧而立!
回复

回到 “字体美化和中文支持”