googlefonts / gftools

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

Improve ds-subsetting #980

Closed simoncozens closed 2 months ago

simoncozens commented 2 months ago

This improves the way that gftools-add-ds-subset chooses appropriate "donor" UFOs from a designspace to be merged in: first, it handles axes which have been renamed, by selecting sources based on axis tag instead; second, when a donor designspace has axes which are not present in the "recipient", it ensures that the default instance is chosen.