LinuxSir.cn,穿越时空的Linuxsir!

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

flash player 无法显示文本

[复制链接]
发表于 2009-9-23 10:17:21 | 显示全部楼层 |阅读模式
adobe-flash包,无法显示文字,是缺什么包么?
浏览器是firefox和opera10。
发表于 2009-9-23 12:45:25 | 显示全部楼层
如果只是中文的話,應該是你Locale設置的問題。如果英文也不行,可能和字體有關。
回复 支持 反对

使用道具 举报

发表于 2009-9-23 21:27:14 | 显示全部楼层
解决Linux下Flash乱码

在Linux下用Firefox浏览有Flash的网页时,经常碰到有些文字不能正常显示,有些还可能显示乱码,比如Google 的在线音乐播放音乐时,完全显示不了文字。

解决方法很简单,操作如下:
修改/etc/fonts/conf.d/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>

将上面的红色的内容改为:

<string>sans</string>

保存一下,在firefox里刷新一下,问题就解决了。
对Fedora和Ubuntu 都适用。
终于可以安逸的收听Google的音乐了~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-9-23 23:58:06 | 显示全部楼层
Post by 亞利艾爾;2029424
如果只是中文的話,應該是你Locale設置的問題。如果英文也不行,可能和字體有關。


英文也没有,看youtube完全没有字
回复 支持 反对

使用道具 举报

发表于 2009-9-24 21:40:08 | 显示全部楼层
Post by bohoma;2029614
解决Linux下Flash乱码

在Linux下用Firefox浏览有Flash的网页时,经常碰到有些文字不能正常显示,有些还可能显示乱码,比如Google 的在线音乐播放音乐时,完全显示不了文字。

解决方法很简单,操作如下:
修改/etc/fonts/conf.d/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>

将上面的红色的内容改为:

<string>sans</string>

保存一下,在firefox里刷新一下,问题就解决了。
对Fedora和Ubuntu 都适用。
终于可以安逸的收听Google的音乐了~

你上面没有红色的内容……
回复 支持 反对

使用道具 举报

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

本版积分规则

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