Install Windows Fonts on Linux
Preface In Linux systems, after installing WPS, due to copyright issues, it does not come with fonts, and these fonts are necessary for daily use. Below is an introduction to the method of adding fonts to the Linux system. Operation Since the Windows system comes with complete fonts, they can be copied from the installed Windows system. First, execute the command: mkdir /usr/share/fonts/wps_symbol_fonts/ //Create the WPS font directory Then go to the Windows font directory, C:/Win
目录2 个章节
Preface
After installing WPS on a Linux system, fonts are not included by default due to copyright issues, even though these fonts are commonly used. Below is a guide on how to add fonts to a Linux system.
Operations
- Since Windows comes with a complete set of fonts, you can copy them from your installed Windows system. First, execute the following command:
mkdir /usr/share/fonts/wps_symbol_fonts/ //Create WPS font directory
Then navigate to the Windows fonts directory, C:/Windows/Fonts/, enter that directory, open a terminal there, and execute the following commands:
cp *.ttf /usr/share/fonts/wps_symbol_fonts/
cp *.TTF /usr/share/fonts/wps_symbol_fonts/
cp *.otf /usr/share/fonts/wps_symbol_fonts/
cp simsun.ttc /usr/share/fonts/wps_symbol_fonts/
Copy the ttf, otf, TTF, and simsun.ttc font files to the newly created wps_symbol_fonts directory under the Linux system.
Note: For ttc files, only copy simsun.ttc (SimSun). Copying all of them will cause system font confusion and prevent WPS from inputting Chinese. You can verify which specific ttc file causes the issue by copying them one by one — if an error occurs, simply delete it.
- Add read and execute permissions, and generate the font cache. Commands:
cd /usr/share/fonts/
chmod 755 wps_symbol_fonts/
cd /usr/share/fonts/wps_symbol_fonts/
chmod 644 *
mkfontscale
mkfontdir
fc-cache //Update font cache
Note: As long as you follow this method, all Windows fonts can be added to Linux. It is recommended not to place font files directly in the fonts directory; instead, put them in the wps_symbol_fonts subdirectory to avoid conflicts with system fonts, which may also prevent WPS from inputting Chinese.
_EOF_
Install Windows Fonts on Linux
- 本文作者:
- 程序设计实验室
- 版权声明:
- 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
相关文章
Linux设置系统邮件转发到指定邮箱
前言 在Linux的操作中,有的时候每敲一下回车,就出来You have new mail in /var/spool/mail/root的提示,究竟是为什么呢? Linux 系统经常会自动发出一些邮件来提醒用户系统中出了哪些问题(收件箱位置:/var/mail/)。可是这些邮件都是发送给 root 用户的。出于系统安全考虑,通常不建议大家直接使用 root 帐户进行日常操作。所以要想点办法来让系
2025-10-27 · 系统配置 · 约 1 分钟
内存不够用?在Linux上使用swapfile配置交换空间
前言 几个月前我还兴高采烈写了篇文章说给笔记本升级了内存配置,从乞丐版的4G一跃成为16G高富帅,然而,这几个月来我备受电脑死机的折磨,我现在有理由怀疑我可能买了假的内存条,于是没有办法,只能换回原厂的4G内存条,~~(然后准备赚部台式机)~~,问题不大。 换上4G内存条之后效果显著,只开了一个谷歌浏览器,内存占用就已经到了80%了,JB家的IDE是决计不敢再用了,可是这样还是难以满足系统对内存空
2025-10-27 · 系统配置 · 约 1 分钟
Ubuntu-18-04-安装最新版VLC播放器
添加软件源 sudo add-apt-repository ppa:videolan/master-daily sudo apt update Install sudo apt install vlc qtwayland5 运行VLC播放器 安装额外解码器 vlc-plugin-access-extra - multimedia player and streamer (extra access
2025-10-27 · 系统配置 · 约 1 分钟
Linux--使用Snap安装第三方微信客户端Electronic-Wechat
前言 腾讯估计是不会给Linux系统开发任何软件了,不过问题不大。我们有很多好用的第三方软件替代~~(无奈之举,摊手)~~ 关于Snap Ubuntu官网上的介绍 Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single bu
2025-10-27 · 系统配置 · 约 1 分钟
讨论
共 0 条加载评论中…