Skip to content

Update font mapping script to support Noto TTF fonts - #4198

Merged
pmachapman merged 1 commit into
masterfrom
gha/fix-font-update-ttf
Oct 18, 2026
Merged

pmachapman merged 1 commit into
masterfrom
gha/fix-font-update-ttf

Conversation

@Nateowami

@Nateowami Nateowami commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

It appears Noto is no longer publishing OTF when they publish a new release of a font. The current script only looks for OTF, so this results in fonts getting dropped from the list of supported fonts.

This PR updated the script to fall back to TTF when OTF is not available. OTF tends to be a lot smaller, hence keeping it as default.


This change is Reviewable

@Nateowami Nateowami added testing not required ai-review-author-sign-off PR author has looked at AI review of change and determined no findings warrant further changes labels Oct 16, 2026
@Nateowami
Nateowami marked this pull request as ready for review October 16, 2026 23:41
@Nateowami
Nateowami deployed to screenshot_diff October 16, 2026 23:45 — with GitHub Actions Active
@codecov

codecov Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.21%. Comparing base (2390507) to head (76349ad).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4198   +/-   ##
=======================================
  Coverage   81.21%   81.21%           
=======================================
  Files         670      670           
  Lines       42912    42912           
  Branches     7105     7081   -24     
=======================================
  Hits        34853    34853           
- Misses       6894     6911   +17     
+ Partials     1165     1148   -17     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@pmachapman
pmachapman force-pushed the gha/fix-font-update-ttf branch from 02ea4bb to 76349ad Compare October 18, 2026 21:24
@pmachapman
pmachapman deployed to screenshot_diff October 18, 2026 21:31 — with GitHub Actions Active

@pmachapman pmachapman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@pmachapman reviewed 1 file and all commit messages, and made 1 comment.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on Nateowami).

@pmachapman pmachapman self-assigned this Oct 18, 2026
@pmachapman
pmachapman merged commit 655860a into master Oct 18, 2026
30 checks passed
@pmachapman
pmachapman deleted the gha/fix-font-update-ttf branch October 18, 2026 21:43

This branch was successfully deployed

1 active deployment
screenshot_diff — 76349ad0 Deployed Oct 18, 2026 by pmachapman via Compare Screenshots #1120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-review-author-sign-off PR author has looked at AI review of change and determined no findings warrant further changes testing not required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants