Skip to content

[designspace] Fix editing sources - #2091

Merged
justvanrossum merged 7 commits into
mainfrom
designspace-putSource-fixes-issue-2040
Mar 16, 2025
Merged

justvanrossum merged 7 commits into
mainfrom
designspace-putSource-fixes-issue-2040

Conversation

@justvanrossum

Copy link
Copy Markdown
Member

This fixes #2040.

putSources() threw away ufo layer definitions for non-source layers.

This additionally fixes two bugs I found while fixing the original bug:

  • fontSource.name was not written to the ds source styleName attribute
  • ds source styleName attribute was not read for sparse masters (non-default layerName)

@justvanrossum

Copy link
Copy Markdown
Member Author

Hm, those Windows test failure seems unrelated to these changes, yet they pass in a different branch. Will need to look into this later.

@justvanrossum
justvanrossum force-pushed the designspace-putSource-fixes-issue-2040 branch 2 times, most recently from 877150e to 1204405 Compare March 15, 2025 06:51
@justvanrossum

Copy link
Copy Markdown
Member Author

Hm, the Windows failure seems a genuine bug, that magically only manifests itself on Windows only. Need to investigate deeper.

@justvanrossum
justvanrossum force-pushed the designspace-putSource-fixes-issue-2040 branch from 0bac6a4 to 2c89171 Compare March 16, 2025 11:29
@justvanrossum
justvanrossum merged commit 19ed0ef into main Mar 16, 2025
@justvanrossum
justvanrossum deleted the designspace-putSource-fixes-issue-2040 branch March 16, 2025 11:34
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 backend has problem modifying sources when variable components are present

1 participant