Repository navigation
Introduce Terminal.get_font_coverage() - #407
Merged
Merged
Conversation
jquast
force-pushed
the
jq/font-glyph-support-clean
branch
from
August 30, 2026 22:07
960cb7d to
e784bbc
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #407 +/- ##
==========================================
+ Coverage 97.40% 97.42% +0.01%
==========================================
Files 13 13
Lines 3888 3993 +105
Branches 693 722 +29
==========================================
+ Hits 3787 3890 +103
- Misses 82 83 +1
- Partials 19 20 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Adds font glyph detection capability for testing with ucs-detect, including a detect-tofus.py utility, unicodedata normalization, and supporting terminal capability queries.
jquast
force-pushed
the
jq/font-glyph-support-clean
branch
from
August 30, 2026 22:16
e784bbc to
bdf631e
Compare
jquast
force-pushed
the
jq/font-glyph-support-clean
branch
from
August 31, 2026 00:27
64c1392 to
82afa03
Compare
Support only the latest version of mintty, previous versions required some silly codepoint-response-counting workarounds, these are not necessary with the latest cygwin release of mintty, so remove them.
jquast
marked this pull request as ready for review
August 31, 2026 02:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support "tofu detection" as documented and tested, and by example
bin/detect-tofus.py.mintty is a son of a bitch.. it takes a lot of customization to avoid conhost.exe, otherwise it won't work. And then it reports no tofu's at all, even when visually there are definitely tens of thousands. And, many of the grapheme tests of ucs-detect corrupt the font output, lots of strange draw artifacts that persist, tofus, and VS16, emoji ZWJ etc. are all corrupted by display.. despite my efforts to install unifont, it can't seem to handle multiple or fallback fonts correctly.
I will document mintty's egregious behaviors in ucs-detect, and since the code works I'll keep it, but I wouldn't recommend mintty for unicode!