googlefonts / googlefonts/gftools

Addition of wdth axis in STAT in font only having a weight axis when family name has "Condensed"

Open
#801 2 comments 0 reactions 0 assignees View on GitHub
bug builder
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.

Screenshot 2023-12-14 at 13 47 06

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.