Ubuntu8.04 fixed the problem of Chinese garbled characters in Flash Caused by changing the font configuration

Source: Internet
Author: User
Recently Ubuntu8.04 modified the system font configuration file structure, the original/etc/fonts/language-selector.conf is divided into four files, correspond to/etc/fonts/conf. d/29-language-selector-zh.conf, 69-language-selector-zh-cn.conf, 99-language-selector-zh.conf, and CJK_alia

Recently Ubuntu 8.04 modified the system font configuration file structure, the original/etc/fonts/language-selector.conf into four files, correspond to/etc/fonts/conf. d/29-language-selector-zh.conf, examples, 99-language-selector-zh.conf, and CJK_aliases. We often modify the sans font rendering sequence in the sequence file. If you find that the system font is incorrect, you can directly adjust the sequence, after adjusting the font order you like, restart X to restore the font of the system.

However, at this time, the Chinese characters in your Flash may still be garbled or different from the system font. This solution is very simple, and the/etc/fonts/conf. d/49-sansserif.conf: delete the file. This file adds sans-serif to all non-sans-serif and serif fonts, after deleting it, the font configuration in Flash is consistent with that in the external system. In addition, if there are garbled characters after this modification, try to adjust the Chinese font order in 69-language-selector-zh-cn.conf.

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.