当前位置: 首页 > 工具软件 > VFS for Git > 使用案例 >

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

慎兴业
2023-12-01

问题

装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

参看网站

 类似资料: