Ubuntu 14.04 64-bit font beautification (use Wen Quan yi blackish)

Source: Internet
Author: User
Tags italic font

Ubuntu 14.04 after installing and upgrading, become italic font very ugly, I did a night yesterday, finally got a clue, here to tidy up.

After online research, everyone's unanimous view is that the use of open source fonts Ku Wenquan-Yi's micro-black font effect is more ideal, and even the effect does not lose the Windows platform of the elegant black font. Below I intend to beautify Ubuntu 14.04 with a blackish black.

1. Install Wen Quan yi Micro-Black font Library
sudo aptitude install Ttf-wqy-microhei

2. Install the interface beautification tools, I choose Ubuntu-tweak, to the official website to download the latest Deb package, directly double-click installation.

http://ubuntu-tweak.com/


After the installation is complete, install Ubuntu tweak in the software Center, into the font, the default fonts, desktop fonts, and so on, this is my current configuration screenshot


Here is the Ubuntu and other wide font, is because it feels more than Wen Quan Yi Black and other wide font effect better, so I will this font as the default English font. Of course, you can also use other interface tools to make adjustments, such as installing $sudo apt-get install Gnome-tweak-tool
It is also possible to set the settings.

3. Further confirm and modify the font configuration file.

Usually Ubuntu font files are stored under/usr/share/fonts, and the font configuration profile is placed under/etc/fonts.

Ubuntu controls the Chinese font in one file,/etc/fonts/conf.d/69-language-selector-zh-cn.conf,


sudo gedit/etc/fonts/conf.d/69-language-selector-zh-cn.conf
Modify the following:

<?xml version= "1.0"?> <! DOCTYPE fontconfig SYSTEM "Fonts.dtd" > <fontconfig> <match target= "pattern" > <test name= "la 
            ng "> <string>zh-cn</string> </test> <test qual=" any "name=" Family "> <string>serif</string> </test> <edit name= "Family" mode= "prepend" Bindin G= "Strong" > <string>wenquanyi Micro hei</string> <string>ar PL uming cn</s
            tring> <string>ar PL uming hk</string> <string>ar PL New sung</string>
            <string>wenquanyi Bitmap song</string> <string>ar PL UKai cn</string> <string>ar PL Zenkai uni</string> <string>HYSong</string> </edit&gt
    ;
          </match> <match target= "pattern" > <test qual= "any" name= "Family" >  <string>sans-serif</string> </test> <test name= "lang" > <string&gt
            ;zh-cn</string> </test> <edit name= "Family" mode= "prepend" binding= "Strong" >
            <string>wenquanyi Micro hei</string> <string>droid Sans fallback</string> <string>HYSong</string> <string>ar PL uming cn</string> <string>ar PL uming hk</string> <string>ar pl New sung</string> <string>ar PL UKai CN </string> <string>ar PL Zenkai uni</string> </edit> </match> &L T;match target= "pattern" > <test qual= "any" name= "Family" > <string>monospace</string&
        Gt
        </test> <test name= "lang" > <string>zh-cn</string> </test> <edit NAme= "Family" mode= "prepend" binding= "strong" > <string>wenquanyi Micro Hei mono</string> <string>droid Sans fallback</string> <string>HYSong</string> <stri Ng>ar PL uming cn</string> <string>ar pl uming hk</string> <string>ar P L New sung</string> <string>ar Pl UKai cn</string> <string>ar PL Zenkai Un i</string> </edit> </match> </fontconfig>

Note that Micron Black requires binding= "strong".
In this way, the English default Ubuntu, Chinese default text Spring station micron Black, even if the browser with CSS style text, also has a good display effect. The results are ideal.

After the font changes, there is no need to restart, we will see the effect.

Reference documents

[1] Http://forum.ubuntu.org.cn/viewtopic.php?f=8&t=236013&start=0

[2]http://www.linuxidc.com/show.aspx?id=93711&cid=5

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.