In Linux, the font of Windows XP is used to beautify Chinese characters.

Source: Internet
Author: User
Article Title: beautify Chinese Characters in Windows XP font in Linux. Linux is a technology channel of the IT lab in China. Some basic categories, including desktop applications, Linux system management, kernel research, embedded systems, and open source systems, are mounted on Windows XP:
 
Copy three font files
 
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/SURSONG. TTF/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 the linux font list
 
Sudo fc-cache/usr/share/fonts/zh_CN/TrueType/
 
Configure the font by replacing/etc/fonts/language-selector.conf and do not change/etc/fonts. conf.
 
Sudo gedit/etc/fonts/language-selector.conf
 
To:
 
  
Serif
Bitstream Vera Serif
SimSun
DejaVu Serif
Ar pl ShanHeiSun Uni
Ar pl ZenKai Uni
Sans-serif
Bitstream Vera Sans
SimSun
DejaVu Sans
Ar pl ShanHeiSun Uni
Ar pl ZenKai Uni
Monospace
Bitstream Vera Sans Mono
DejaVu Sans Mono
SimSun
Song
Sun
Kai
Ming
180
True
Song
Sun
Kai
Ming
False
0
True
False
True
18
False
SimSun
SimSun-18030
Ar pl ShanHeiSun Uni
Ar pl New branch
MingLiU
PMingLiU
Tahoma
Verdana

SimSun
Xin
SimSun
Imitation Song _ GB2312
FangSong_GB2312
_ GB2312
KaiTi_GB2312
Simhei
SimHei

 
Set Font rendering to monochrome: System-> preference-> font
 
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.