Condensed and extended font files don't always have the correct weight set
- Dominant language
- HTML
- Stars
- 20.5k
- Forks
- 2.9k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 95
Description
I'm not sure this is within the scope of Google Fonts, but I thought I'd check.
Some (many?) of the condensed/extended font files have an incorrect [width specified in the TTF files](https://docs.microsoft.com/en-us/typography/opentype/spec/os2#uswidthclass) that can be downloaded from the Google Fonts website. Examples of widths for some fonts (incorrect widths highlighted in bold):
- Asap: normal (5)
- Asap Condensed: **normal (5)**
- Encode Sans: normal(5)
- Encode Sans Semi Condensed: condensed (3)
- Encode Sans Condensed: condensed (3)
- Encode Sans Semi Expanded: semi expanded (6)
- Encode Sans Expanded: expanded (7)
- Roboto: normal (5)
- Roboto Condensed: **normal (5)**
- Stint Ultra Condensed: ultra-condensed (1)
- Stint Ultra Expanded: **expanded (7)**
I know this isn't exact science, but it would be good to make things more consistent. I don't know whether any automatic checks are already in place. If so, perhaps some basic checks on the width class set in the font files could be added? e.g. fonts with 'condensed' or 'expanded' in the name should have a width class of, respectively, lower or higher than 5.
Contributor guide
Assessment
This issue has not been assessed yet.