为OpenOffice增加字体

自从玩Ubuntu以后,系统只一直没有宋体(Simsun.ttc)!但由于最近要写课程设计不得不用宋体了,装字体还是难不到偶的,呵!

  1. sudo cp /media/hda1/windows/fonts/simsun.ttc /usr/share/fonts/truetype/msfonts
  2. sudo chmod 755 /usr/share/fonts/truetype/msfonts/simsun.ttc
  3. sudo fc-cache -v

虽然OOo里的字体顺利解决,但是又出现了新的麻烦,以前用FF浏览网页的时候用的华文黑体,现在变成了宋体,而且暴难看!

Simsun

Simsun-1

好像这些可以通过”System”–>”Preferences”–>”Appearance”–>”Fonts”里的选项来改,但偶已经很喜欢黑体了,不想用宋体看网页!于是去openoffice.org里找找,呵,被偶找到了一个有关的东东!http://wiki.services.openoffice.org/wiki/Font-FAQ

How do I add fonts to OpenOffice.org 2 exclusively

There are two choices: Either for all users of OOo or only for one single user. If you intend to add the fonts…

  • for all users of OOo (but only within OOo, put the fonts into the directory
/opt/openoffice.org2.0/share/fonts/truetype/
  • only for one single user of OOo, put the fonts into the directory
~/.openoffice.org2/user/fonts/

一个是对所有用户,字体存放目录是/usr/lib/openoffice/share/fonts/truetype;另一个只对单个用户,存放目录是~/.openoffice.org2/user/fonts/,如果目录不存在需自己mkdir!

simsun-2

This entry was posted in Ubuntu and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *