question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[com.google.fonts/check/usweightclass] Fail with weightclass 100 in variable font

See original GitHub issue

Observed 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:closed
  • Created 4 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
m4rc1ecommented, May 5, 2020

We must prioritise fixing this issue. Every vendor complains about it, https://github.com/xotypeco/big_shoulders/issues/9#issuecomment-623573511

1reaction
m4rc1ecommented, Mar 9, 2020

Yep, we need to fix this.

For CFF we apparently want 250, for TT 200.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found