Centos installation of WenQuanYi font tutorial

Source: Internet
Author: User
When using Firefox to browse the web page, the black font is too light to see clearly. some netizens have high comments on the font of WenQuanYi. I chose this font today. Download font (URL: http://sourceforge.net/projects/wqy/files/ uninstall I download here to install wqy-microhei, to a compressed package wqy-microhei-0.2.0-beta.tar.gz; (wqy-zenhei is also good font OH)

When using Firefox to browse the web page, the black font is too light to see clearly. some netizens have high comments on the font of WenQuanYi. I chose this font today.

Download font (URL: http://sourceforge.net/projects/wqy/files/) here I download and install wqy-microhei, to a compressed package wqy-microhei-0.2.0-beta.tar.gz; (wqy-zenhei is also good font OH)

# Tar-zxvf wqy-microhei-0.2.0-beta.tar.gz

# Mv wqy-microhei/usr/share/fonts/

# Cd/usr/share/fonts/wqy-microhei

# Ls (check whether there are two files, fonts. dir and fonts. scale. If yes, rename or delete them)

# Mkfontdir (create a fonts. dir file)

# Cp fonts. dir fonts. scale

# Vi/etc/X11/fs/config

Catalogue =/usr/share/X11/fonts/misc: unscaled,
/Usr/share/X11/fonts/75 dpi: unscaled,
/Usr/share/X11/fonts/100 dpi: unscaled,
/Usr/share/X11/fonts/Type1,
/Usr/share/X11/fonts/TTF,
/Usr/share/fonts/default/Type1,
,
/Usr/share/fonts/chinese/misc: unscaled,
/Usr/share/fonts/chinese/misc,
/Usr/share/fonts/chinese/TrueType

Changed:

Catalogue =/usr/share/X11/fonts/misc: unscaled,
/Usr/share/X11/fonts/75 dpi: unscaled,
/Usr/share/X11/fonts/100 dpi: unscaled,
/Usr/share/X11/fonts/Type1,
/Usr/share/X11/fonts/TTF,
/Usr/share/fonts/default/Type1,
,
/Usr/share/fonts/chinese/misc: unscaled,
/Usr/share/fonts/chinese/misc,
/Usr/share/fonts/chinese/TrueType,
/Usr/share/fonts/wqy-microhei/

Save and exit.

Pay attention to the red font content

Log off the current account and log on again.

System --- preferences --- font

Set the font you want to display to the font of WenQuanYi, which is equal to the width of Micron Black. of course, you can change the font of Firefox, and change the font in edit-preference-content.

Related Article

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.