[googlefonts] new check: mandatory avar table
See original GitHub issueIn this twitter conversation @davelab6 wished for a fontbakery check on the googlefonts
profile to make avar table mandatory:
https://twitter.com/davelab6/status/1331698384743387138
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (9 by maintainers)
Top Results From Across the Web
googlefonts — Font Bakery 0.8.10 documentation
Check font follows the Google Fonts CJK vertical metric schema ... Most variable fonts should include an avar table to correctly define axes...
Read more >Google Font QA report · Issue #4843 - GitHub
ℹ INFO From a total of 1 font files, 1 of them (100.00%) lack a STAT table. ... 🔥 FAIL Missing required codepoints:...
Read more >Variable fonts - Google Fonts
Font Family Axes Default Values
Akshar wght 400 300..700
Albert Sans ital 0 0, 1
Albert Sans Albert Sans wght 400 100..900
Read more >Cannot Get Google Webfonts to Work - Litmus
Hi all, I'm trying to use the seemingly simple Google webfonts technique ... This is a Web Font Test Q </td> </tr> </table>...
Read more >All The Fontbakery Checks!
Profiles, adobefonts universal notofonts opentype googlefonts typenetwork cff ... Check the name table for empty records, as this can cause problems in ...
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
Current rationale text for this check starts with
"Most variable fonts should include an avar table to correctly define axes progression rates."
At https://github.com/justvanrossum/nabla/issues/25#issuecomment-1215650287 @davelab6 said:
So, I will make this a WARN.
You could go one step further and a) check this for the wght axis only, b) report a warning if the wght axis covers three steps of the CSS scale (e.g. Adam’s 700–900 example), and c) report a fail if the wght axis covers more than three steps of the CSS scale.
Really, though, this is a design issue, and the question is not whether a variable font should contain an avar table but whether the weight progression should be linear or non-linear. The answer to that question from type designers making fonts with extensive weight ranges is most often that weight progression should be non-linear, and ergo such fonts are going to need an avar table. The greater the weight range, the more likelihood that a non-linear wght progression is desirable, and hence my suggestion to tweak the test accordingly.
The bigger problem here is that FontBakery doesn’t know anything about design intent, so will inevitably produce some reports and recommendations that do not apply to specific fonts. At present, these need to be negotiated between the designers and Google Fonts, and sometimes exceptions are granted, but then those exceptions need to be tracked. One solution to this would be to front-end some information about the design intent as input to FB, e.g. some kind of configuration file to aid FB with information about the font from the font maker such as ‘wght progression is non-linear’ ‘TRUE/FALSE’.