Skip to content

[googlefonts/STAT/axisregistry] fails for any value other than Default #362

@mitradranirban

Description

@mitradranirban

Observed behaviour
My font's STAT table has 2 instances in Slant Axis -20 = Oblique and 0 = Default

Fontspector googlefonts/STAT/axisregistry reports

FAIL
On the font variation axis 'slnt', the name 'Oblique' is not among the expected ones (Default) according to the Google Fonts Axis Registry.

Expected behaviour
as per data in https://github.com/googlefonts/axisregistry/blob/main/Lib/axisregistry/data/slant.textproto

tag: "slnt"
display_name: "Slant"
min_value: -90
max_value: 90
default_value: 0
precision: 0
fallback {
name: "Default"
value: 0
}
fallback_only: false
illustration_url: "slant.svg"
description:
"Adjust the style from upright to slanted. Negative values produce"
" right-leaning forms, also known to typographers as an 'oblique' style."
" Positive values produce left-leaning forms, also called a 'backslanted'"
" or 'reverse oblique' style."

So Value 0 should be "Default", any value < 0 should be "Oblique", and any value > 0 sould be "Reverse Oblique"

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