zoukankan      html  css  js  c++  java
  • 解决Linux下Flash文字不能显示的问题

    解决Linux下Flash文字不能显示的问题

    来源: http://roclinux.cn/?p=1189

    本文章属于《Linux大棚》博客,博客地址为http://roclinux.cn。文章作者为rocrocket。
    为了防止某些网站的恶性转载,特在每篇文章前加入此信息,还望读者体谅。

    ===

    [正文开始]

    看到一位朋友的文章,解决我的一个棘手问题。非常感谢。转贴在此,留作纪念:)

    原帖地址为:http://www.linuxsong.org/2008/12/linuxfirefox-flash.html

    文章内容为:

    在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的音乐了~

    over~

     

    GOOD!

  • 相关阅读:
    java native 跨语言开发
    tomcat 加载 war包
    AWS
    云主机的体系架构
    数据流程图
    html5 创收
    javascript 发展
    营利模式
    错误:Reference file contains errors http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsdv......
    android eclipse 项目相互引用设置
  • 原文地址:https://www.cnblogs.com/dabaopku/p/1753561.html
Copyright © 2011-2022 走看看