Added the Windows Chinese font in Ubuntu8.04.

Source: Internet
Author: User
Article Title: added the Windows Chinese font in Ubuntu8.04. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Ubuntu8.04 has too few Chinese fonts, which is inconvenient for people who are familiar with Windows.

You can easily add your favorite font in Ubuntu8.04 using the following method.

1. Find your favorite Chinese font in the fonts folder of Vista:

: Msyh

SimHei

SimSun

文: STXihei

文: STKaiti

文: STSong

文: STFangsong

文 cloud: STCaiyun

文 AMBER: STHupo

文: STLiti

文: STXingkai

New Chinese Wei: STXinwei

Many

2. Create a folder named vista and load all your favorite font files into the vista folder;

3. Copy the vista font folder to/usr/share/fonts.

It should be noted that Ubuntu8.04 does not support reading, writing, creating, copying, and deleting any files (folders) in Windows. You must also have System Management permissions to create a font folder. Run the following command to open fonts:

Sudo gnome-open/usr/share/fonts/

Copy the created vista font folder to fonts;

4. Modify the font permissions so that users other than root can use these fonts. If you are not familiar with the command, you can directly click the font file-properties-Permission to modify it;

5. Create a font cache with the following command:

Cd/usr/share/fonts/vista/

Sudo mkfontscale

Sudo mkfontdir

Sudo fc-cache-fv

6. Restart your computer.

7. Perform the settings you need: Right-click the desktop, change the desktop background, and set the font.

Now, when you use openoffice, you will not feel that there are too few Chinese fonts to choose from.

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.