googlefonts / googlefonts/gftools
Addition of wdth axis in STAT in font only having a weight axis when family name has "Condensed"
- Dominant language
- Python
- Stars
- 283
- Forks
- 73
- Avg merge
- 21h 25m
- Merged PRs (30d)
- 8
Description
Found in "Reddit Sans Condensed" in branch: https://github.com/reddit/redditsans/tree/gf-onboarding
Issue described here: https://github.com/google/fonts/issues/6812#issuecomment-1854495258
Reddit Sans Condensed is an upright family with a weight axis. Since "Condensed" is in the family name it shouldn't be found in the STAT table. Indeed Windows use the STAT table to display the style names of the instances defined in the FVAR table. Having a wdth axis with "Condensed" in the STAT table ends up in displaying "Reddit Sans Condensed Condensed" on Windows.
The config file is only listing a weight axis, the sources don't contain any mention to a width axis. I also tested with a width class at normal to see if the STAT was triggered by this field. Renaming font to "Narrow" instead seems to solve the issue, so my conclusion is that "Condensed" in the `nameID1` may be what triggers the inclusion of "Condensed" in the STAT table.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.