Skip to content

gen-stat default axis order maybe wrong + issue with non elided style #1128

@RosaWagner

Description

@RosaWagner

I am creating a bunch of subfamilies (sliced at different width) for Zalando with builder 2. I thought I could post-process: buildStat but I found 1 or maybe 2 mistakes.

  • Axis order gets wrong:
    GF expects wdth to be before wght. But it gets in second place by default.

  • It is debatable to include the wdth axis in this case:
    Since the VF gets sliced at a certain width location, and so the width axis is dropped, it could be expected to also drop it in the STAT able. I understand why it is there though and I support it. It creates a problem in MS Words (this one again) because it takes the family name + location in fvar + name in STAT ending up in: Zalando Sans SemiExpanded SemiExpanded SemiBold

I understand that GF doesn't want to cater to MS Word's bugs and therefore not drop the wdth axis in this case. A simple workaround, which would be imo more correct in general would be to elide the unique style name in the width axis since you find it in the family name already.

In any case I gonna patch a custom STAT table now but wanted to let you know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions