Open jenskutilek opened 1 month ago
fontc currently does not support discrete axes or any of the features introduced with designspace version 5, it expects that there is a 1:1 correspondence between a single input .designspace file and one output VF. With discrete axes there can be 1:N. We are prioritizing stuff that is actually being used in the GF collection and didn't find much evidence of discrete axes and other DSv5 features. However we do plan to add support for them, it's being tracked here https://github.com/googlefonts/fontc/issues/837
I think fonttools designspaceLib can split that DSv5 into individual DSv4-compatible designspaces, I suggest you try doing that for the time being, until we implement full support for this in fontc.
Thanks for your explanation. I couldn't find any specific info about which DS version is supported, so I assumed v5 would be fine. But it's true that you won't get to see any v5 designspace in a workflow starting from Glyphs files.
it's true that you won't get to see any v5 designspace in a workflow starting from Glyphs files.
actually if you use multiple Variable Font export settings (in the old instances tab of font info), then glyphsLib will add multiple <variable-font>
elements to the exported DS which is also a v5 only feature, the ability to produce multiple VFs from a single DS source file
Interesting, didn't know that
I have a designspace that contains an Italic axis with discrete values, as should be pretty common:
Result:
It seems that the code doesn't work when an axis doesn't have the
minimum
andmaximum
attributes, even though they are not required for a discrete axis.