Use Windows Font in CentOS

Source: Internet
Author: User

After installing the CentOS 6.4 x86_64 minimal desktop system, the font support packages in other countries except China (Chinese) were unmounted. The UI font of the system was changed accidentally, and it was so ugly. As I used to get used to the wide font like Las, I felt that the and of Windows were good, so I copied them together.
 
Create a folder in/usr/share/fonts: msfonts
 
Copy consola * in the Windows Font directory *. ttf, msyh *. ttf, simhei. ttf, simsunb. ttf to the/usr/share/fonts/msfonts directory and modify/etc/fonts. conf, add the following red part:
 
<Dir>/usr/share/fonts </dir> <dir>/usr/share/fonts/msfonts </dir>
<Dir>/usr/share/X11/fonts/Type1 </dir> <dir>/usr/share/X11/fonts/TTF </dir> <dir>/usr/ local/share/fonts </dir>
<Dir> ~ /. Fonts </dir>
Because the blue font already exists, the red font should not be added. Then, execute fc-cache-f to make the newly added font take effect immediately.
 
On the System --> preferences --> appearance Font page, set the application font to Normal, the document font to Las LAS, the desktop font to Normal, and the window title to Bold, the font of the same width is LAS and the size is 10. Of course, you can also choose.
 
(⊙ O ⊙), I feel much better than the original font.

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.