Fedora Core 6下中文TTF字体安装方法

字体大小: 中小 标准 ->行高大小: 标准
 由于我的本本安装了双系统,所以我是从Winxp中将字体拷到linux下的。

  1.加载C盘,设备名可能因分区不盘而异
  #mount /dev/hda1 /mnt -t vfat

  2.创建自定义目录
  #mkdir -p /usr/share/fonts/custom

  3.拷贝字体文件到自定义目录
  #cp -f /mnt/windows/fonts/simsun.ttf /usr/share/fonts/custom
  #cp -f /mnt/windows/fonts/tohoma.ttf /usr/share/fonts/custom

  4.停止xfs服务
  #service xfs stop

  5.进入自定义目录
  #cd /usr/share/fonts/custom

  6.建立fonts.scale文件
  #ttmkfdir -o fonts.scale

  7.生成字体目录索引
  #mkfontdir

  8.将新字体路径添加到xfs配置文件
  #chkfontpath -a /usr/share/fonts/custom

  9.启动xfs
  #service xfs start

  10.启动XWindow
  #startx

此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/47790.html