New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check request: verify font.sfntVersion against the presence of glyf and CFF/CFF2 #3388
Comments
Although: ots only warns for it, for fontbakery it should be a FAIL IMO, as FreeType rejects such fonts. |
In general we're happy to substitute 3rd party checks with our own fontbakery checks, specially if we're able to document them with more detailed rationale metadata. |
Correct me if I'm wrong, please. I'm proposing to classify this as a maximum severity check as it seems the font is completely broken if it does not pass this check, right? |
It depends: FreeType rejects a font with |
At this point they're still experimental. We're gradually coming up with a way to categorize checks by perceived severity, but this is still very much subjective. |
@felipesanches please assign this to me, and add it to the 0.8.9 queue. |
Added to the Universal profile. Ensures the font has the proper sfntVersion value. (issue #3388)
It's possible to build fonts that have the wrong sfntVersion field, say a TTF with a glyf table, yet with an sfntVersion of "OTTO". Such fonts are rejected by FreeType.
See also: fonttools/fonttools#2370
(I just saw that ots already warns about this, so perhaps it's redundant for fontbakery.)
The text was updated successfully, but these errors were encountered: