|
重新安装了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
- <!--
- Accept deprecated 'mono' alias, replacing it with 'monospace'
- -->
- <match target="pattern">
- <test qual="any" name="family">
- <string>mono</string>
- </test>
- <edit name="family" mode="assign">
- <string>monospace</string>
- </edit>
- </match>
- <!--
- <!--
- Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
- -->
- <match target="pattern">
- <test qual="any" name="family">
- <string>sans-serif</string>
- </test>
- <edit name="family" mode="assign">
- <string>DejaVu Sans YuanTi</string>
- </edit>
- </match>
- <!--
- Accept deprecated 'sans' alias, replacing it with 'sans-serif'
- -->
- <match target="pattern">
- <test qual="any" name="family">
- <string>sans</string>
- </test>
- <edit name="family" mode="assign">
- <string>DejaVu Sans YuanTi</string>
- </edit>
- </match>
复制代码
以及我的~/.fonts.conf
- <?xml version='1.0'?>
- <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
- <fontconfig>
- <dir>~/.fonts</dir>
- <match target="font">
- <edit mode="assign" name="rgba">
- <const>none</const>
- </edit>
- </match>
- <match target="font">
- <edit mode="assign" name="hinting">
- <bool>true</bool>
- </edit>
- </match>
- <match target="font">
- <edit mode="assign" name="hintstyle">
- <const>hintmedium</const>
- </edit>
- </match>
- <match target="font">
- <edit mode="assign" name="antialias">
- <bool>true</bool>
- </edit>
- </match>
- </fontconfig>
复制代码
希望哪位兄弟能够提点提点小弟,谢谢
附:使用chromium 6, 但是同样的情况在firefox里也出现 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|