Install the font on Ubuntu

Source: Internet
Author: User

After ubuntu10.0 is installed, the main UI font of the system is sans. Some software only supports the Chinese font of wenqing spring. I personally feel that it is not as nice as, so I will look for the information, install the font on your own.

Method 1,

Specific Method:
1. If you log on as a user, log off and Log On As root (because you must have System Management permissions to copy files in the font folder ).
2. Prepare the elegant and black font named msyh. TTF (I also have Windows 7, so I copied it directly from the/Windows/font/directory of Windows 7 ).
3. Place the font in the font folder.
(1) The font folder is located in/usr/share/fonts. Create a new folder named msyh.
(2) Put the font in the above folder
(3) modify the font permission to ensure that common users other than root can also use the font normally.
Sudo chmod 755/usr/share/fonts/msyh /*
4. Create a font cache.
CD/usr/share/fonts/msyh/
Sudo mkfontscale & sudo mkfontdir & sudo FC-Cache-FV

5. Restart X to set the system font.
(1) system font settings: Right-click the desktop and choose "Change desktop background"> "font". Change the font to "" based on your preferences ".
6. Let's take a look at your masterpiece!

Method 2,

Many tips on the Internet are about installing Ubuntu in Ubuntu, which is very troublesome and will be left unattended if anyone sees it. In fact, there is a way to easily install on Ubuntu-that is, to use its own "Font viewer "!
Is a TrueType font and its extension is. TTF, so it must be compatible with ubuntu. First, if you install Vista or the latest Windows 7, use Nautilus to enter:

Code: /Media/system volume mark/Windows/Fonts

Find "msyh. TTF and msyhbd. TTF, copy them to any directory (such as the main folder), and open them one by one (opened by the Font viewer by default). There is a "Install font" button in the lower right corner, just click it!

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.