fontbakery: COLR need to count for reachability (com.google.fonts/check/unreachable_glyphs)
Observed 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.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 20 (9 by maintainers)
Commits related to this issue
- Support COLR table on check/unreachable_glyphs Do not report glyphs referenced in color fonts graphic compositions on the COLR table as missing. com.google.fonts/check/unreachable_glyphs (issue #383... — committed to felipesanches/fontbakery by felipesanches 2 years ago
- Support COLR table on check/unreachable_glyphs Do not report glyphs referenced in color fonts graphic compositions on the COLR table as missing. com.google.fonts/check/unreachable_glyphs (issue #383... — committed to felipesanches/fontbakery by felipesanches 2 years ago
- Support COLR table on check/unreachable_glyphs Do not report glyphs referenced in color fonts graphic compositions on the COLR table as missing. com.google.fonts/check/unreachable_glyphs (issue #383... — committed to felipesanches/fontbakery by felipesanches 2 years ago
- Support COLR table on check/unreachable_glyphs Do not report glyphs referenced in color fonts graphic compositions on the COLR table as missing. com.google.fonts/check/unreachable_glyphs (issue #383... — committed to fonttools/fontbakery by felipesanches 2 years ago
- Improve COLR table support on check/unreachable_glphs Cosimo Lupo said at https://github.com/googlefonts/fontbakery/pull/3838#pullrequestreview-1053613190 that a version=1 COLR table can be mixed and... — committed to felipesanches/fontbakery by felipesanches 2 years ago
- Improve COLR table support on check/unreachable_glyphs Cosimo Lupo said at https://github.com/googlefonts/fontbakery/pull/3838#pullrequestreview-1053613190 that a version=1 COLR table can be mixed an... — committed to felipesanches/fontbakery by felipesanches 2 years ago
- Improve COLR table support on check/unreachable_glyphs Cosimo Lupo said at https://github.com/googlefonts/fontbakery/pull/3838#pullrequestreview-1053613190 that a version=1 COLR table can be mixed an... — committed to felipesanches/fontbakery by felipesanches 2 years ago
- Improve COLR table support on check/unreachable_glyphs Cosimo Lupo said at https://github.com/googlefonts/fontbakery/pull/3838#pullrequestreview-1053613190 that a version=1 COLR table can be mixed an... — committed to felipesanches/fontbakery by felipesanches 2 years ago
- Improve COLR table support on check/unreachable_glyphs Cosimo Lupo said at https://github.com/googlefonts/fontbakery/pull/3838#pullrequestreview-1053613190 that a version=1 COLR table can be mixed an... — committed to felipesanches/fontbakery by felipesanches 2 years ago
- Improve COLR table support on check/unreachable_glyphs Cosimo Lupo said at https://github.com/googlefonts/fontbakery/pull/3838#pullrequestreview-1053613190 that a version=1 COLR table can be mixed an... — committed to fonttools/fontbakery by felipesanches 2 years ago
COLR Paint objects already have a more specialized
traversemethod, 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
mainbranch (future FB v0.8.10 release).