WPS for Linux(ubuntu)字体配置(字体缺失解决办法)

问题

装WPS for linux过程中,出现字体缺失错误

问题解决

the first way:
Change to the /tmp directory.

cd /tmp

Clone the Git repository.

git clone https://github.com/iamdh4/ttf-wps-fonts.git

Enter the directory.

cd ttf-wps-fonts

Run the install script.

sudo bash install.sh

Clean up the tmp directory.

rm -rf /tmp/ttf-wps-fonts

the second way:
Change to the /tmp directory.

cd /tmp

Clone the Git repository.

git clone https://github.com/iamdh4/ttf-wps-fonts.git

Create a sub directory in your system’s fonts directory. This is usually /usr/share/fonts, otherwise consult your distribution’s documentation.

sudo mkdir /usr/share/fonts/wps-fonts

Move fonts to the new directory.

sudo mv ttf-wps-fonts/* /usr/share/fonts/wps-fonts

Fix the file permissions.

sudo chmod 644 /usr/share/fonts/wps-fonts/*

Rebuild the font cache.

sudo fc-cache -vfs

Clean up the tmp directory.

rm -rf /tmp/ttf-wps-fonts

参看网站

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
Ubuntu是一个流行的开源操作系统,有很多用户使用WPS Office Suite来满足他们的文档需求。然而,有时候用户会面临缺失字体的问题,这是使用WPS for Ubuntu的常见问题之一。那么原因是什么呢? 首先,Linux和Windows的字体系统不同。Ubuntu操作系统采用的是FreeType字体引擎,该引擎与Windows的字体引擎不同。这会导致在Ubuntu操作系统上,只能使用兼容的字体文件。 其次,WPS for Ubuntu只自带了少量的字体文件,并且这些字体文件与Windows的字体文件不同。如果在WPS for Ubuntu中使用Windows中不存在的字体,就会出现"缺失字体"的问题。 最后,当用户通过WPS for Ubuntu创建文档,并在其他设备上打开时,也会出现缺失字体的问题。这是因为其他设备上可能不存在WPS for Ubuntu所使用的特定字体。 那么如何解决这个问题呢? 用户可以通过如下方法解决这个问题: 1.安装兼容性更好的字体,如宋体、黑体等。这些字体可以通过在Ubuntu下安装Microsoft TrueType Core Fonts来实现。 2.使用Ubuntu自带的字体,如Liberation系列。 3.将文档转换为PDF,这可以避免缺失字体的问题。 4.在向其他设备发送文档之前,将文档中所使用的字体转换为通用字体,如Arial等。 总之,缺失字体WPS for Ubuntu的常见问题,但是这并不代表你无法解决这个问题。通过调整字体,你可以避免这个问题,从而在Ubuntu上顺利使用WPS Office Suite。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值