为Debian KDE更换显示字体为思源黑体
# 前言
因为感觉默认的 note sans 字体有点瘦和细,显示屏上看着有点难受,打算换个养眼一点的字体,感觉思源黑体不错,免费商用,不用担心版权问题,而且字体也好看。
# 下载
思源字体 repo:https://github.com/adobe-fonts/source-han-sans
在下载向导页面可以看到多种字体类型:https://github.com/adobe-fonts/source-han-sans/tree/release
因为是用于系统显示,因此这里推荐使用包括了五种语言的字体,不推荐使用语言特定(Language-specific)和区域特定(Region-specific)的字体,避免出现字体不一致的情况。
至于是下载非 VF 字体还是 VF 字体可以自己根据实际情况决定
可变字体(Variable Font,VF)相较于传统字体支持 无限可调字重(100-900,任意粗细)
,但目前系统设置里貌似不能调整,只能选择预设的字重
为了方便在设计时使用可变字体(不想装一个非 VF 一个 VF),干脆直接装了 VF 版
旧版 Debian 建议选 TTF,较新的 Debian 可以选 OTF
带有 HW 为使用半宽字形表示 ASCII,可以理解为等宽字体(用于写代码等格式要求严格的使用场景)
Variable OTF:https://github.com/adobe-fonts/source-han-sans/raw/release/Variable/OTC/SourceHanSans-VF.otf.ttc
Variable HW OTF:https://github.com/adobe-fonts/source-han-sans/raw/release/Variable/OTC/SourceHanSansHW-VF.otf.ttc
Variable TTF:https://github.com/adobe-fonts/source-han-sans/raw/release/Variable/OTC/SourceHanSans-VF.ttf.ttc
Variable HW TTF:https://github.com/adobe-fonts/source-han-sans/raw/release/Variable/OTC/SourceHanSansHW-VF.ttf.ttc
如果是装非 VF 字体,可以选择 super OTC, 包含了五种语言和七种字重
Super OTC:https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSans.ttc.zip
同样的,这只能在较新的系统上使用,较旧的系统只能一个一个装。
Static OTCs:https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansOTC.zip
# 安装
字体下载完成后右键安装字体即可
目前在 5.27.5 的 KDE 中,KFontView 仍然无法在 Wayland 下正常使用,请直接右键安装字体。
Use this card to join MyBlog and participate in a pleasant discussion together .
Welcome to GoodBoyboy 's Blog,wish you a nice day .