Skip to content

[designspace] Fix the interpretation of the "layer" source attribute - #2315

Merged
justvanrossum merged 7 commits into
mainfrom
ds-sparse-sources-issue-2314
Nov 21, 2025
Merged

[designspace] Fix the interpretation of the "layer" source attribute#2315
justvanrossum merged 7 commits into
mainfrom
ds-sparse-sources-issue-2314

Conversation

@justvanrossum

@justvanrossum justvanrossum commented Nov 21, 2025

Copy link
Copy Markdown
Member

This fixes #2314

Make the interpretation of the <source> "layer" attribute match fontmake, ie. if it is present, the source is considered "sparse". Previously, Fontra only considered designspace source sparse if the layer attribute differed from the default layer name. Subtle but cricial difference.

Additionally, this allows us to finally expose the "is sparse" flag as a checkbox in the Font Sources panel.

@justvanrossum
justvanrossum force-pushed the ds-sparse-sources-issue-2314 branch 2 times, most recently from e54c558 to f5caeab Compare November 21, 2025 15:12
@justvanrossum
justvanrossum force-pushed the ds-sparse-sources-issue-2314 branch from f5caeab to 196ecf0 Compare November 21, 2025 15:19
@justvanrossum
justvanrossum merged commit bd44ba5 into main Nov 21, 2025
4 checks passed
@justvanrossum
justvanrossum deleted the ds-sparse-sources-issue-2314 branch November 21, 2025 19:02
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

Successfully merging this pull request may close these issues.

[designspace] Correct interpretation of the "layer" source attribute

1 participant