-
Notifications
You must be signed in to change notification settings - Fork 105
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
com.google.fonts/test/034: xAvgCharWidth bakery vs glyphs vs font val #1622
Comments
I wouldn't care too much about xAvgCharWidth. See @behdad's fonttools/fonttools#1079 (comment)
|
Maybe our check can accept values that off by 1-2-5 units? |
Could this also be set to a WARN? |
I would prefer the value to be somewhat sensical, since things like getflourish.github.io/anatomy-of-typefaces use it |
yeah, WARN sounds good, and allow a tolerance of +/- 1 unit |
OK. I think I have enough input to come up with a sensible solution for this. I'm working on this one now. |
the expected value. (issue fonttools#1622)
the expected value. (issue #1622)
When running check-google fonts on Barlow we get:
Recently this test has been off by just a unit on the most recent versions of glyphs.
In Ms Val, it is a completely different story:
So we have:
Glyphs: 500
FB: 501
Ms Font Val: 420
In the MS Spec:
https://www.microsoft.com/typography/otspec/os2.htm#acw
Against MS
When I look at the FB implementation, I can't see anything that would lead to such a drastic difference.
Against Glyphs
Perhaps they do floor rounding for this calculation?. We use
round
which will round higher any float >.5 e.g 4.5 is 5cc @schriftgestalt
The text was updated successfully, but these errors were encountered: