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

Created on 9 Mar 2020  Â·  9Comments  Â·  Source: googlefonts/fontbakery

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.

P0 Urgent

Most helpful comment

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

All 9 comments

Yep, we need to fix this.

For CFF we apparently want 250, for TT 200.

For CFF we apparently want 250, for TT 200.

I understand why 250 is needed for CFF, but I can’t imagine why 200 would be a breakpoint. Did you mean to say 100—the normally correct value for Thin? Or is there some way in which TT behavior is particularly surprising (to me, anyway)?

Apologies, For TT we want 100 for Thin and 200 for ExtraLight.

I'm writing a wip spec/docs atm that has this info. Hopefully we can just use this as a single source of truth instead of github issues.

Issue 1706 ("Establish mapping for usWidthClass to css font-stretch") is still open.

It's wip atm

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

Working on this today.

Thanks, @m4rc1e

Was this page helpful?
0 / 5 - 0 ratings