Texture healing doesn't work with frozen fonts
还没有人认领这个 Issue。
评估
调研方向
The report compares texture healing (the calt feature) in a font frozen with FontFreeze against the shipped Monaspace fonts, so start by checking whether calt survives the freeze, using fonttools to inspect the GSUB lookups in both builds. The payload names no source files, so the freeze and build scripts in the repository are the places to look. Done means identifying why the frozen build loses the lookup and either fixing the freeze step or documenting a reliable workaround.
由索引模型根据 Issue 内容生成。
描述
I built frozen versions of the fonts with FontFreeze, since I wanted slashed zeros (a non-negotiable for me, dotted zeros suck 😉) locked in for the editors/apps that don't support font configuration/customization (which is most of them, unfortunately). I made sure to set calt to 1 when I did, along with the other features I wanted. Everything seems to work except for texture healing, which doesn't seem to work when I use the frozen fonts.
This is in Zed, using Neon Var:
This is in Sublime Text, using Neon Var Frozen:
Notice how the i and the m in minimus are different between the two screenshots.
I could try the frozen versions provided in the repo, but, as I said, slashed zeros are absolutely mandatory for me, so I wouldn't be able to use those.
So my question is, should I use a different freezing method (maybe whichever one you guys used when you created your frozen versions)? If so, which one?
FWIW: FontFreeze uses fonttools and, according to its README,
The way FontFreeze deactivates a feature is by removing all lookups inside it, and it activates a feature by moving all lookups in it into
calt, which is usually activated by default in most environments. If this doesn't work for a particular environment, you may also try changing the "Target feature for activation" setting torvrn(which is more forced thancaltby the OpenType specification; note that in this case, you might also need to activatecaltas well for some other features to function).
I did set "Target feature for activation" to rvrn, and calt was already activated, since it's what activates texture healing, but I'm wondering if that isn't the reason why texture healing seems to be the only feature that isn't working.
Thanks!
- 主要语言
- Shell
- 星标
- 19.7k
- 派生
- 325
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
githubnext/monaspace 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 86/100
githubnext/monaspace#381 · 2 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 48/100
githubnext/monaspace#407 · 2 条评论 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 55/100
githubnext/monaspace#405 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 48/100
githubnext/monaspace#404 ·
-
难度 4/5 3-5 天 新手友好度 38/100
githubnext/monaspace#403 ·
查看 githubnext/monaspace 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 2 天内回复
-
headers-parser: `forRegExp` does not escape regexp characters in path segments that contain `*`可能已有人在做 @RaphaelFakhri 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 82/100
mattpocock/skills#1307 ·
维护者通常 1 天内回复
-
status: ready
难度 2/5 1-3 小时 新手友好度 73/100
melodic-software/claude-code-plugins#8537 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
vladmandic/sdnext#5161 ·
维护者通常 1 天内回复