Fedora 28 —— install fonts for WPS
# 第一步:从 Windows 7 系统下字体文件夹(C:\Windows\Fonts) ,拷贝如下文件到当前Ubuntu用户目录 ~/123
宋体:simsunb.ttf simsun.ttc
微软雅黑:msyh.ttf msyhbd.ttf
黑体:simhei.ttf
隶书:SIMLI.TTF
楷体:simkai
仿宋体:simfang
Courier New:courbd.ttf courbi.ttf couri.ttf cour.ttf
WPS Office 所需字体:symbol.ttf webdings.ttf wingding.ttf WINGDNG2.TTF WINGDNG3.TTF MTExtra.ttf
# word中字体前的字母T或O是什么意思
# T是 TTF(TrueTypeFont)是一种字库名称。TTF(TrueTypeFont)是Apple公司和Microsoft公司共同推出的字体文件格式,随着windows的流行,已经变成最常用的一种字体文件表示方式
# O是OpenType字体(.OTF) OpenType,是一种可缩放字型(scalable font)电脑字体类型,采用PostScript格式,是美国微软公司与Adobe公司联合开发,用来替代TrueType字型的新字型。这类字体的文件扩展名为.otf,类型代码是OTTO,现行标准为OpenType 1.4。
# 第二步:新建字体存放目录 windows-font
mkdir /usr/share/fonts/windows-font
# 第三步:拷贝字体到wiondow-font目录下 (使用下面的第三步)
cd /run/media/root/22C03855C0383181/Windows/Fonts
cd /opt/Windows_Fonts-xp/
mkdir /usr/share/fonts/windows-font
/bin/cp simhei.ttf /usr/share/fonts/windows-font
/bin/cp simsunb.ttf simsun.ttc /usr/share/fonts/windows-font
/bin/cp msyh.ttf msyhbd.ttf /usr/share/fonts/windows-font
/bin/cp MSYH.TTC MSYHBD.TTC /usr/share/fonts/windows-font
/bin/cp courbd.ttf courbi.ttf couri.ttf cour.ttf /usr/share/fonts/windows-font
/bin/cp symbol.ttf webdings.ttf wingding.ttf WINGDNG2.TTF WINGDNG3.TTF /usr/share/fonts/windows-font
/bin/cp Mt\ Extra\ Tiger.ttf /usr/share/fonts/windows-font
/bin/cp mtextra_01.ttf mtextra.ttf /usr/share/fonts/windows-font
/bin/cp Symbol\ Tiger* /usr/share/fonts/windows-font
[root@localhost Fonts]#
# 第三步:拷贝所有 Windows 字体到 wiondow-font 目录下 (use fonts of winxp and win10)
cp -r /run/media/root/22C03855C0383181/Windows/Fonts /opt/Windows_Fonts-xp
/bin/cp /opt/Windows_Fonts-xp/* /usr/share/fonts/windows-font
# cp /opt/Windows_Fonts-xp/ /usr/share/fonts/windows-font
/bin/cp /opt/Windows_Fonts-win10/* /usr/share/fonts/windows-font
# 第四步:修改权限,并更新字体缓存
chmod -R 777 /usr/share/fonts/windows-font
cd /usr/share/fonts/windows-font
mkfontscale
mkfontdir
fc-cache -fv
cd -
## 执行以下命令,生成字体的索引信息
# mkfontscale
# mkfontdir
## 运行fc-cache命令更新字体缓存
# fc-cache -fv
# 第五步:重启下系统
reboot
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通