googlefonts / gftools

Misc tools for working with the Google Fonts library
Apache License 2.0
243 stars 70 forks source link

Virtual Masters not recognized on build #791

Open bghryct opened 1 year ago

bghryct commented 1 year ago

https://github.com/Afrotype/danfobase/issues/2

https://github.com/Afrotype/danfobase/actions/runs/6949071877

https://github.com/googlefonts/glyphsLib/issues/859#issuecomment-1821172843

Relevant conversations above

Expected behavior: The shape element _part.cut which is part of the H as scallops on the side should be able to be controlled by the ELSH axis

Observed behavior: The builder runs and produces a static font but doesn't recognize the virtual master setup.

simoncozens commented 1 year ago

Yes, this is a problem with the builder's determine_variability function. The workaround is to set buildVariable: true in the configuration file.

bghryct commented 1 year ago

Thanks @simoncozens