[com.google.fonts/check/usweightclass] Fail with weightclass 100 in variable font
See original GitHub issueObserved behaviour
The (wip) spec recommends setting the OS2 weightclass for Thin to 100, but Google Fonts’ usweightclass check returns a FAIL if I follow the spec.
The error message reads:
FAIL: OS/2 usWeightClass expected value for '9pt Thin' is 250 but this font has 100.
Expected behaviour
Not sure. Either no fail in the check, or a clearer explanation what the value can/should be.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
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 >Add VF check to ensure os/2 weightClass is same as default ...
The OS/2 weightClass should be the same as the default wght axis ... FAIL: Variable font weight coordinates must be multiples of 100....
Read more >Variable fonts guide - CSS: Cascading Style Sheets | MDN
Variable fonts are an evolution of the OpenType font ... via the font-weight property, which takes numeric values ranging from 100 to 900...
Read more >Introduction to variable fonts on the web
In this article, we will look at what variable fonts are, the benefits they offer, and how we can use them in our...
Read more >Variable font from Google Fonts doesn't change weight
I found the problem. I was specifying a range of weights which exceeded the range available for this font. Instead of doing this:...
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
We must prioritise fixing this issue. Every vendor complains about it, https://github.com/xotypeco/big_shoulders/issues/9#issuecomment-623573511
Yep, we need to fix this.
For CFF we apparently want 250, for TT 200.