Texture healing doesn't work with frozen fonts
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 22/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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!
- Ngôn ngữ chính
- Shell
- Star
- 19.7k
- Fork
- 325
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của githubnext/monaspace
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
githubnext/monaspace#381 · 2 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
githubnext/monaspace#407 · 2 bình luận · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
githubnext/monaspace#405 · 1 reaction ·
-
1 and l look almost similarĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 48/100
githubnext/monaspace#404 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
githubnext/monaspace#403 ·
Tất cả issue của githubnext/monaspace
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
kunchenguid/firstmate#7604 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
product-to-storybook is skipped silently by npx skills add because its frontmatter is invalid YAMLĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 83/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug github_actions security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
DewaldOosthuizen/tech-cheat-sheets-and-notes#388 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Link Checker ReportĐang mởautomated issue report
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
a2aproject/A2A#2376 ·
Maintainer thường phản hồi trong vòng 3 ngày