-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
合成 JetBrains Maple Mono 的可变字体 (variable ttf),目前有两个方案:
-
用已有的 JetBrains Maple Mono 不可变字体 (ttf) 合成,步骤:
- 用 ufo-extractor 将 ttf 转换成 ufo:
pip install ufo-extractor pip install ufoLib2 extractufo JetBrainsMapleMono.ttf
- 用 fontTools.designspaceLib 编写 Python 脚本生成 designspace
pip install fonttools python generate-designspace.py
- 用 fontmake 合成可变字体
pip install fontmake fontmake fontmake -o variable -m JetbrainsMapleMono.designspace
问题: ufo-extractor 转换出的不同字重字体间结构不兼容 (Compatibility check failed) (无论是否进行字体优化),且无法做到自动修复兼容性
-
用 JetBrains Mono 和 Maple Mono 的可变字体合成,步骤:
- 找到一个支持可变字体合成的工具合成
问题: 目前找不到这样的工具,fontforge 和 fonttools 均尚未支持合成可变字体,自己编写合成工具的 ROI 过低,且难度很可能超出我的能力范围
JonasGao
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed