COLR need to count for reachability (com.google.fonts/check/unreachable_glyphs)
See original GitHub issueObserved behaviour
Checks on Noto Color Emoji claim vast #s of unreachable glyphs. My guess is COLR v0 and/or v1 don’t “count” when computing reachability.
WARN: Check font contains no unreachable glyphs ([com.google.fonts/check/unreachable_glyphs](https://font-bakery.readthedocs.io/en/stable/fontbakery/profiles/universal.html#com.google.fonts/check/unreachable_glyphs))
⚠ WARN The following glyphs could not be reached by codepoint or substitution rules:
glyph05311
glyph10700
glyph21429
glyph16679
glyph20585
glyph30485
glyph08398
glyph18035
glyph39093
glyph29709
And 35524 more.
Ref https://github.com/google/fonts/pull/4994#issuecomment-1197611451.
Expected behaviour
COLR should count as a way to reach glyphs.
Resources and exact process needed to replicate
https://github.com/googlefonts/color-fonts has a set of sample font sthat may be useful in testing.
Issue Analytics
- State:
- Created a year ago
- Comments:20 (16 by maintainers)
Top Results From Across the Web
Are these used as components by otherwise reachable glyphs ...
com.google.fonts/check/unreachable_glyphs Check font contains no unreachable glyphs with AvimodeLAB20211125-Regular.otf Rationale: Glyphs ...
Read more >Material Symbols and Icons - Google Fonts
Introducing Material Symbols. Material Symbols are our newest icons consolidating over 2,500 glyphs in a single font file with a wide range of...
Read more >Fontbakery Check Report
Check font contains no unreachable glyphs · Check if each glyph has the recommended amount of contours. · Ensure dotted circle glyph is...
Read more >COLR - Color Table (OpenType 1.9) - Typography
The PaintColrGlyph table allows a color glyph definition, referenced by a base glyph ID, to be re-used as a sub-graph within multiple color...
Read more >universal — Font Bakery 0.7.34 documentation
Font contains unique glyph names? Rationale: Duplicate glyph names prevent font installation on Mac OS X. com.google.fonts/check/unwanted_tables ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
COLR Paint objects already have a more specialized
traverse
method, which is also used by the fonttools subsetter, see:https://github.com/fonttools/fonttools/blob/e494b118c4dd471fa268f817915249fd36858a10/Lib/fontTools/subset/__init__.py#L2112-L2123 https://github.com/fonttools/fonttools/blob/e494b118c4dd471fa268f817915249fd36858a10/Lib/fontTools/ttLib/tables/otTables.py#L1576-L1588
The Nabla.ttf saved as an asset of the GH Action you referenced here does not fail the check implementation in our current git
main
branch (future FB v0.8.10 release).