Repository navigation
Designspace v5 - #420
Merged
Merged
Designspace v5#420
Conversation
anthrotype
approved these changes
Sep 25, 2026
Adds the v5 elements: elidedfallbackname, axis STAT labels, top-level location labels, variable-fonts with axis-subsets, localised source family names, and instance location labels and localised names. The same structs handle 4.x and 5.x; the only API breakage is new pub fields on existing structs. An axis-subset is modelled as a name plus SubsetValue (Whole, Tent or Discrete), parsed via a raw struct rather than an untagged enum, which quick-xml can't handle. On save, format is bumped to the minimum version the content needs, as fontTools does.
Make the axis-subset range values individually optional, as the spec allows, and fold SubsetValue::Full into Range, per #418 (comment)
cmyr
force-pushed
the
designspace-v5
branch
from
September 25, 2026 14:31
a67d85b to
bb2e47d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is identical to #418, but I'd merged that into the wrong branch. This merges into main, but shouldn't go in until #419 is merged.