Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[designspace] Changing the default value of an axis causes trouble #1954

Open
justvanrossum opened this issue Jan 16, 2025 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@justvanrossum
Copy link
Collaborator

Steps:

  • create new (.designspace) font
  • add glyph
  • add axis
  • change default value of axis
  • add source at axis for glyph
Traceback (most recent call last):
  File "/Users/just/code/git/BlackFoundry/fontra/src/fontra/core/fonthandler.py", line 135, in _processWritesOneCycle
    await writeFunc()
  File "/Users/just/code/git/BlackFoundry/fontra/src/fontra/backends/designspace.py", line 564, in putGlyph
    self._createDefaultSourceAndUFO(sourceName)
  File "/Users/just/code/git/BlackFoundry/fontra/src/fontra/backends/designspace.py", line 693, in _createDefaultSourceAndUFO
    assert not self.dsSources
           ^^^^^^^^^^^^^^^^^^
AssertionError
@justvanrossum justvanrossum added the bug Something isn't working label Jan 16, 2025
@justvanrossum justvanrossum self-assigned this Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant