Texture healing doesn't work with frozen fonts
まだ誰も着手していません。
評価
調査の方向性
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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
githubnext/monaspace のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
githubnext/monaspace#381 · リアクション 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
githubnext/monaspace#407 · コメント 2 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
githubnext/monaspace#405 · リアクション 1 件 ·
-
難易度 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時間 初心者へのやさしさ 67/100
phusion/passenger-docker#480 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
source:reader type:enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
stephrobert/blog-roadmap#95 ·
-
Gemini: respect PLANNING_DISABLED=1 in lifecycle context hooks対応中かも @AmariAugustin が今日担当しました。 オープンbug good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 87/100
OthmanAdi/planning-with-files#329 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 2 日以内に返信