SuSe手动添加服务端需要的字体

在大多数开发过程中,都会遇到linux服务器字体缺失的情况,今天我在SuSe操作系统中也遇到了,在此记录处理过程备忘。

SuSe查询当前系统支持的字体

fc-list  | less

/usr/share/fonts/100dpi/courB18.pcf.gz: Adobe Courier:style=Bold
/usr/share/fonts/100dpi/helvBO18.pcf.gz: Adobe Helvetica:style=Bold Oblique
/usr/share/fonts/100dpi/UTRG__12.pcf.gz: Adobe Utopia:style=Regular
/usr/share/fonts/100dpi/timB12-ISO8859-1.pcf.gz: Adobe Times:style=Bold
/usr/share/fonts/100dpi/luBIS19-ISO8859-1.pcf.gz: B&H Lucida:style=Sans Bold Italic
/usr/share/fonts/100dpi/luIS18-ISO8859-1.pcf.gz: B&H Lucida:style=Sans Italic
/usr/share/fonts/misc/b10_bi.pcf.gz: Efont Biwidth:style=Bold Italic
/usr/share/fonts/75dpi/courBO14.pcf.gz: Adobe Courier:style=Bold Oblique
/usr/share/fonts/75dpi/timB18-ISO8859-1.pcf.gz: Adobe Times:style=Bold
...

注: 通过方向键,查询当前系统中是否有你需要的字体。

获取字体

一般字体的获取,都可以在大多数的Windows机器上找到,我的开发机器就是windows。

具体的目录:C:\Windows\Fonts 下,找到对应的字体包文件即可。

配置SuSe新字体

上传字体文件到SuSe服务器上,具体目录:/usr/share/fonts/truetype 

重新加载新添加的字体

fc-cache -fv

注:该命令加载新字体,再次执行fc-list | less查看是否存在新加的字体,希望能帮到有需要的人。

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值