CentOS工作机-增加字体
时间:2015-02-23 01:17 来源:linux.it.net.cn 作者:IT
一般是拷贝windows到字体到linux中,注册使用。
在系统字体目录建立msfonts子目录用于存新增到字体文件
# mkdir /usr/share/fonts/msfonts
# cp /mnt/c/Windows/Fonts/msyh* /usr/share/fonts/msfonts/
# cp /mnt/c/Windows/Fonts/consola*.ttf /usr/share/fonts/msfonts/
# cp /mnt/c/Windows/Fonts/simhei.ttf /usr/share/fonts/msfonts/
# cp /mnt/c/Windows/Fonts/simsunb.ttf /usr/share/fonts/msfonts/
修改系统到字体配置文件,添加新增到字体目录到配置文件中
# vi /etc/fonts/fonts.conf
在<dir>/usr/share/fonts</dir>后,增加:<dir>/usr/share/fonts/msfonts</dir>
OK,好了,可以在eclipse和浏览器中制定字体里。
(责任编辑:IT)
一般是拷贝windows到字体到linux中,注册使用。 在系统字体目录建立msfonts子目录用于存新增到字体文件 # mkdir /usr/share/fonts/msfonts # cp /mnt/c/Windows/Fonts/msyh* /usr/share/fonts/msfonts/ # cp /mnt/c/Windows/Fonts/consola*.ttf /usr/share/fonts/msfonts/ # cp /mnt/c/Windows/Fonts/simhei.ttf /usr/share/fonts/msfonts/ # cp /mnt/c/Windows/Fonts/simsunb.ttf /usr/share/fonts/msfonts/ 修改系统到字体配置文件,添加新增到字体目录到配置文件中 # vi /etc/fonts/fonts.conf 在<dir>/usr/share/fonts</dir>后,增加:<dir>/usr/share/fonts/msfonts</dir>
OK,好了,可以在eclipse和浏览器中制定字体里。 (责任编辑:IT) |