Solve the problem that Firefox flash text is garbled or cannot be displayed in Linux.

Source: Internet
Author: User

Seeing a friend'sArticleTo solve one of my thorny problems. Thank you very much. Paste it here for souvenir :)

Source post address: http://www.linuxsong.org/2008/12/linuxfirefox-flash.html

The content of this article is:

In Linux, when using Firefox to browse Web pages with flash, some text may not be displayed normally, and some may be garbled. For example, when Google's online music is played, the text cannot be displayed completely.

The solution is simple. The operation is as follows:
Modify/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>

Change the red content above:

<String> sans </string>

Save it and refresh it in Firefox to solve the problem.
Applicable to both fedora and ubuntu.
Finally, you can easily listen to Google music ~

Over ~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.