check/colorfont_tables: update conditions#3889
check/colorfont_tables: update conditions#3889felipesanches merged 12 commits intofonttools:mainfrom
Conversation
|
Rationale text needs to be updated to reflect the reasoning of these updated check criteria. It currently reads:
|
|
Also, code-tests need to be updated since they're enforcing the incorrect tag "SVG", while it should be "SVG " instead. |
|
Docstring on the code-test must also be updated. It still reads as |
|
And please, also add a CHANGELOG.md entry. |
|
Done and apologies for the delay. I forgot about this one. |
|
CI errors seem to involve the whole timeout fiasco which #3892 solves. |
|
Merge conflict fixed. |
| yield FAIL, Message( | ||
| "drop-svg", | ||
| "Font has a COLR v0 table, which is already widely supported, " | ||
| "so the SVG table isn't needed." |
There was a problem hiding this comment.
Adobe CC does not support COLR table (and probably will not do any time soon, given the Adobe’s history with SVG table), so if a font for GF want to also support Adobe CC, do you want to force it to ship to versions?
There was a problem hiding this comment.
hm fair enough.. I would demote that check to a WARNING, saying that COLRv0-only is OK for browser use, unless you really need SVG support for desktop apps that don't support COLR. They probably want to keep things simple and not allow too many options when onboarding new color fonts. /cc @rsheeter
There was a problem hiding this comment.
@khaledhosny maybe file a separate issue so we can discuss there
577f2fa to
2bf75ba
Compare
Co-authored-by: Cosimo Lupo <cosimo@anthrotype.com>
Co-authored-by: Cosimo Lupo <cosimo@anthrotype.com>
Co-authored-by: Cosimo Lupo <cosimo@anthrotype.com>
Co-authored-by: Cosimo Lupo <cosimo@anthrotype.com>
|
@felipesanches PTAL. I keep having to rebase this PR so it'll be good to get this in. |
|
Thank you! |
Description
Our current implementation for com.google.fonts/check/colorfont_tables isn't strict enough.
Fixes #3888
@anthrotype Have I covered all the cases?
To Do
CHANGELOG.md