LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 687|回复: 1

【求助】flashplayer 中文字体好像被挤压了一样

[复制链接]
发表于 2010-8-31 08:47:12 | 显示全部楼层 |阅读模式
重新安装了gentoo之后flashplayer变得无法显示中文和英文混合的文字了,具体情况见图

尝试过关闭字体抗锯齿,无效
尝试过将所有字体更换成点阵的wqy-bitmap-song,无效
尝试过添加simsun,并且修改fonts.conf里所有有关sans-serif的内容,无效
尝试过将49-sansserif.conf 改名成 99-sansserif.conf,无效

系统编码是en_US.UTF8
浏览器编码是UTF8, 改成gbk之后也还是无效

wm是awesome,原本认为flashplayer可能加载系统字体,系统使用的是DejaVu Sans YuanTi, 这个字体是ubuntu中文论坛上的zhuqin提供的,字库很完整,修改了wm字体还是无效

修改了/etc/X11/xorg.conf,在fontpath里面添加了~/.fonts里所有我的字体,无效

翻看了linuxsir里面有关这个问题的帖子,05年好像有人提到要修改nvidia驱动的renderaccel选项,我的xorg.conf里面没有这一项,所以没有手动的添加并且修改,具体的帖子是
http://www.linuxsir.cn/bbs/showt ... amp;highlight=flash

这里附上我的/etc/x11/fonts.conf

  1. <!--
  2.   Accept deprecated 'mono' alias, replacing it with 'monospace'
  3. -->
  4.         <match target="pattern">
  5.                 <test qual="any" name="family">
  6.                         <string>mono</string>
  7.                 </test>
  8.                 <edit name="family" mode="assign">
  9.                         <string>monospace</string>
  10.                 </edit>
  11.         </match>

  12. <!--
  13. <!--
  14.   Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
  15. -->
  16.         <match target="pattern">
  17.                 <test qual="any" name="family">
  18.                         <string>sans-serif</string>
  19.                 </test>
  20.                 <edit name="family" mode="assign">
  21.                         <string>DejaVu Sans YuanTi</string>
  22.                 </edit>
  23.         </match>

  24. <!--
  25.   Accept deprecated 'sans' alias, replacing it with 'sans-serif'
  26. -->
  27.         <match target="pattern">
  28.                 <test qual="any" name="family">
  29.                         <string>sans</string>
  30.                 </test>
  31.                 <edit name="family" mode="assign">
  32.                         <string>DejaVu Sans YuanTi</string>
  33.                 </edit>
  34.         </match>
复制代码

以及我的~/.fonts.conf

  1. <?xml version='1.0'?>
  2. <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
  3. <fontconfig>
  4. <dir>~/.fonts</dir>
  5. <match target="font">
  6.   <edit mode="assign" name="rgba">
  7.    <const>none</const>
  8.   </edit>
  9. </match>
  10. <match target="font">
  11.   <edit mode="assign" name="hinting">
  12.    <bool>true</bool>
  13.   </edit>
  14. </match>
  15. <match target="font">
  16.   <edit mode="assign" name="hintstyle">
  17.    <const>hintmedium</const>
  18.   </edit>
  19. </match>
  20. <match target="font">
  21.   <edit mode="assign" name="antialias">
  22.    <bool>true</bool>
  23.   </edit>
  24. </match>
  25. </fontconfig>
复制代码


希望哪位兄弟能够提点提点小弟,谢谢

附:使用chromium 6, 但是同样的情况在firefox里也出现

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 发表于 2010-9-3 11:30:12 | 显示全部楼层
顶一下,希望有兄弟能够帮忙一下
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表