解決Linux下Firefox Flash文字亂碼或不能顯示的問題

來源:互聯網
上載者:User

看到一位朋友的文章,解決我的一個棘手問題。非常感謝。轉貼在此,留作紀念:)

原帖地址為: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~

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.