Install and configure my Ubuntu 8.04:xp font Chinese Landscaping

Source: Internet
Author: User
Keywords Ubuntu installation XP fonts Chinese landscaping
Tags code configuration configure copy directory etc file files

Copy 3 font files (SIMSUN.TTC Tahoma.ttf Tahomabd.ttf) to/usr/share/fonts/zh_cn/truetype

Directory, Command:

sudo mkdir-p/usr/share/fonts/zh_cn/truetype/
sudo cp/media/hda1/windows/fonts/simsun.ttc/usr/share/fonts/zh_cn/truetype/
sudo cp/media/hda1/windows/fonts/tahoma.ttf/usr/share/fonts/zh_cn/truetype/
sudo cp/media/hda1/windows/fonts/tahomabd.ttf/usr/share/fonts/zh_cn/truetype/
sudo chmod 644/usr/share/fonts/zh_cn/truetype/*
cd/usr/share/fonts/zh_cn/truetype/
sudo mkfontscale
sudo mkfontdir

Update Linux Fonts list, command:

sudo fc-cache/usr/share/fonts/zh_cn/truetype/

By replacing the/etc/fonts/language-selector.conf to configure the font, only after this configuration can achieve beautification effect, do not change/etc/fonts/fonts.conf.

Gksu gedit/etc/fonts/language-selector.conf

Install Ya black font

1. After downloading the font to/usr/share/fonts/vista/(how to download fonts and how to put into the Vista directory without me to teach it)
2. Create Font caching information
Code:
sudo mkfontscale
sudo mkfontdir
sudo fc-cache-fv
3. Unzip the attachment and copy the configuration file to/etc/fonts/
4. Overwrite local.conf file
Code:
Cd/etc/fonts/conf.avail
sudo cp. /local.conf 51-local.conf #覆盖51-local.conf
5. Modify the configuration file
Code:
Cd/etc/fonts/conf.avail
sudo gedit 69-language-selector-zh-cn.conf
respectively in
<string>bitstream Vera serif</string>
<string>bitstream Vera sans</string>
<string>bitstream Vera Sans mono</string>
Add under
Code:
<string>http://www.aliyun.com/zixun/aggregation/11208.html ">microsoft yahei</string>
<string>segoe ui</string>
6. Restart X (ctrl+alt+backspace)

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.