只使用 Noto Sans/Serif CJK 和 Source Han Sans/Serif 中的一类?
目前,
ctex的fontset=ubuntu(对应ctex-fontset-ubuntu.def配置文件)和测试集中都用到 Noto Sans/Serif CJK https://github.com/CTeX-org/ctex-kit/blob/81f7050b2b6dabdbe9dd2c472c3e8e446d17a322/ctex/test/testfiles/fonts02.lvt#L7-L19xeCJK文档使用 Source Han Sans/Serif https://github.com/CTeX-org/ctex-kit/blob/81f7050b2b6dabdbe9dd2c472c3e8e446d17a322/xeCJK/xeCJK.dtx#L219-L221 https://github.com/CTeX-org/ctex-kit/blob/81f7050b2b6dabdbe9dd2c472c3e8e446d17a322/xeCJK/xeCJK.dtx#L237
这使得本地测试和编译 ctex 和 xeCJK 的文档和代码,需要同时安装这两套字体。ctex-kit 是否能只使用其中的一套,以减少本地测试、编译的依赖,减轻小硬盘用户的负担(就是我)?
根据 Ken Lunde 2015 年发的评论 https://github.com/adobe-fonts/source-han-sans/issues/122#issuecomment-128087438 ,
Yes, in terms of the glyphs, their metrics, Unicode mappings, and features. In other words, the Source Han Sans and Noto Sans CJK typeface families are mechanically identical. I know, because I built the fonts of both families.
They differ only in their names, and the fact that the Noto Sans CJK fonts lack localized menu names.
评论里的内容在 2023 年仍然成立吗?
建议统一为 Noto Sans/Serif CJK,因为多数 Linux 发行版以及 Overleaf 内置的都是 Noto。Source Han Sans/Serif 一般需要用户自行安装。
评论里的内容在 2023 年仍然成立吗?
仍然成立,具体可以参考 SourceHanSansReadMe 和 SourceHanSerifReadMe。
可以考虑加个alias?
They differ only in their names, and the fact that the Noto Sans CJK fonts lack localized menu names.
同时考虑如何调和language-specific和local-specific之间的关系,比如很多人可能会只下载Source Hans CN以防止日文字体优先出现在中文字体的位置