当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > Linux系统使用Windows XP字体美化汉字

Unix/Linux
FB5.4+gnome2.10.0
FreeBsd
OpenBSD+Samba+eFax架设传真服务器
有关mount时的中文问题
在freebsd上安装linuxigd
Package Filter (1)
在Sparc机器上网络安装OpenBSD系统
PDF文件的各种转换工具
通过com口来管理OpenBSD
FREEBSD5.3架站纪实
终于解决了CS1.5的CLASS C问题
双重引导系统的潜在问题以及限制(BSD)
FreeBSD 内核网络处理流程分析
FreeBSD远程操作基础指南
FreeBSD & Jail
4.x 的sysinstall 不能安装5.3的系统了;(
我的.cshrc文件
解决使用gtk图形显示的程序的字体问题
FreeBSD4.8 IPFW How to
apache的带宽和并发限制模块

Unix/Linux 中的 Linux系统使用Windows XP字体美化汉字


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 105 ::
收藏到网摘: n/a

  在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 SerifSimSun 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 楷体_GB2312KaiTi_GB2312 黑体SimHei

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