mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:46 +01:00
fonts: prefer Noto CJK family names
Noto CJK and Source Han share the same glyphs; Noto names are more common in Linux. Assisted-by: DeepSeek Harness (deepseek-flash)
This commit is contained in:
1 parent
1193e20cf0
commit
f9ece8167d
2 files changed
+13
-18
No files matched your search
+7
-12
@@ -32,22 +32,17 @@ in
|
||||
# Noto 是 Google 开发的开源字体家族
|
||||
# 名字的含义是「没有豆腐」(no tofu),因为缺字时显示的方框或者方框被叫作 tofu
|
||||
#
|
||||
# Noto 系列字族只支持西文,命名规则是 Noto + Sans 或 Serif + 文字名称。
|
||||
# Noto 系列字族覆盖西文与其他文字;noto-fonts 本身不含汉字。
|
||||
noto-fonts # 大部分文字的常见样式,不包含汉字
|
||||
noto-fonts-color-emoji # 彩色的表情符号字体
|
||||
# Noto CJK 为「思源」系列汉字字体,由 Adobe + Google 共同开发
|
||||
# Google 以 Noto Sans/Serif CJK SC/TC/HK/JP/KR 的名称发布该系列字体。
|
||||
# 这俩跟 noto-fonts-cjk-sans/serif 实际为同一字体,只是分别由 Adobe/Google 以自己的品牌名发布
|
||||
# noto-fonts-cjk-sans # 思源黑体
|
||||
# noto-fonts-cjk-serif # 思源宋体
|
||||
# Noto CJK 与 Adobe 的 Source Han 系列是同一套字形,区别只在发行名称。
|
||||
# Noto 在 Linux 生态中更常见,也是更多应用直接请求的字体族名称;
|
||||
# 因此这里优先安装 Noto CJK,而不是 Source Han。
|
||||
noto-fonts-cjk-sans # Noto Sans CJK / Noto Sans Mono CJK
|
||||
noto-fonts-cjk-serif # Noto Serif CJK
|
||||
|
||||
# Adobe 以 Source Han Sans/Serif 的名称发布此系列字体
|
||||
source-sans # 无衬线字体,不含汉字。字族名叫 Source Sans 3,以及带字重的变体(VF)
|
||||
source-serif # 衬线字体,不含汉字。字族名叫 Source Serif 4,以及带字重的变体
|
||||
# Source Hans 系列汉字字体由 Adobe + Google 共同开发
|
||||
source-han-sans # 思源黑体
|
||||
source-han-serif # 思源宋体
|
||||
source-han-mono # 思源等宽
|
||||
source-serif # 衬线字体,不含汉字。字族名叫 Source Serif 4,以及带字重的变体(VF)
|
||||
|
||||
# 霞鹜文楷 屏幕阅读版
|
||||
# https://github.com/lxgw/LxgwWenKai-Screen
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
# 西文: 衬线字体(笔画末端有修饰(衬线)的字体,通常用于印刷。)
|
||||
"Source Serif 4"
|
||||
# 中文: 宋体(港台称明體)
|
||||
"Source Han Serif SC" # 思源宋体
|
||||
"Source Han Serif TC"
|
||||
"Noto Serif CJK SC" # 思源宋体
|
||||
"Noto Serif CJK TC"
|
||||
];
|
||||
# SansSerif 也简写做 Sans, Sans 在法语中就是「without」或者「无」的意思
|
||||
sansSerif = [
|
||||
@@ -28,15 +28,15 @@
|
||||
"Source Sans 3"
|
||||
# 中文: 黑体
|
||||
"LXGW WenKai Screen" # 霞鹜文楷 屏幕阅读版
|
||||
"Source Han Sans SC" # 思源黑体
|
||||
"Source Han Sans TC"
|
||||
"Noto Sans CJK SC" # 思源黑体
|
||||
"Noto Sans CJK TC"
|
||||
];
|
||||
# 等宽字体
|
||||
monospace = [
|
||||
# 中文
|
||||
"Maple Mono NF CN" # 中英文宽度完美 2:1 的字体
|
||||
"Source Han Mono SC" # 思源等宽
|
||||
"Source Han Mono TC"
|
||||
"Noto Sans Mono CJK SC" # 思源等宽
|
||||
"Noto Sans Mono CJK TC"
|
||||
# 西文
|
||||
"JetBrainsMono Nerd Font"
|
||||
];
|
||||
|
||||
Reference in new issue
Block a user