Solution to font garbled characters in flash in Ubuntu

Source: Internet
Author: User
Solution to font garbled characters in flash in Ubuntu
Edit the 49-sansserif.conf file under/etc/fonts/CONF. D.
Sudo gedit/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> // you can change sans-serif to sans.
</Edit>
</Match>
</Fontconfig>

Change sans-serif in red bold to sans.

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.