• Font
  • Family
  • Foundry
  • Designer
  • Sample
  • Article
  • Help
Fontke.com>Article>Details

Linux系统下使用Windows XP字体美化汉字

Date:2008-03-05 21:14:28| Chinese characters|Browse: 93|Source: 赛迪网|Author: korn
  • Follow FontKe on Wechat to get Zcode
  • Scan the Qrcode to participate in the SVIP lottery
Introduction在Windows XP已挂载的情况下:拷贝三个字体文件: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_C

在Windows XP已挂载的情况下:

拷贝三个字体文件:

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

更新linux字体列表:

sudo fc-cache /usr/share/fonts/zh_CN/TrueType/

通过替换/etc/fonts/language-selector.conf来配置字体,不要更改/etc/fonts/fonts.conf。

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

修改为:

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 Sung
MingLiU
PMingLiU
Tahoma
Verdana
宋体
SimSun
新宋体
SimSun
仿宋_GB2312
FangSong_GB2312
楷体_GB2312
KaiTi_GB2312
黑体
SimHei

设置字体渲染为单色:“系统”->“首选项”->“字体”。

0
  • Follow FontKe on Wechat to get Zcode
  • Scan the Qrcode to participate in the SVIP lottery
Relevant font foundry
Linux系统下使用Windows XP字体美化汉字 Comments
Guest Please obey the rules of this website. Unclear?
Linux系统下使用Windows XP字体美化汉字 Latest comments
No relevant comments
Recommended comments