Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wonk axis is not represented properly in STAT table #200

Open
arialcrime opened this issue Apr 27, 2020 · 4 comments
Open

wonk axis is not represented properly in STAT table #200

arialcrime opened this issue Apr 27, 2020 · 4 comments

Comments

@arialcrime
Copy link
Contributor

arialcrime commented Apr 27, 2020

Wonk axis defaults to 1 and has a second state for 0.

Both of them are defined in the add_STAT.py script. However in the final font, only the 1 state shows up. The reason for this might be some interference with the axis setting elsewhere, or a state/value of 0 is a problem for one of the tools involved. A wonk value of 1 is defined in fvar, wonk 0 is (and should) not.

@davelab6
Copy link
Contributor

Is this possible to resolve with the new stat table classes built into fonttools?

@davelab6
Copy link
Contributor

Is this possible to resolve with the new stat table classes built into fonttools?

That was what Nikolas suggested on the statmake repo.

Since April, @m4rc1e has developed a new "spec" documentation for this,

https://github.com/googlefonts/gf-docs/tree/master/Spec#stat-table

and this links to the literata stat table build script, a family with weight and opsz axes, so this should be relevant :)

https://github.com/googlefonts/literata/blob/master/sources/gen_stat.py

@sponcey sponcey modified the milestone: Fraunces v1.0 Aug 14, 2020
@davelab6
Copy link
Contributor

@sponcey was this resolved already?

@sponcey
Copy link
Collaborator

sponcey commented Sep 11, 2020

@davelab6 Not as far as I know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants