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

define own structuring hook for fontTools Transform #367

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

anthrotype
Copy link
Member

Fixes fonttools/fonttools#3744

cattrs built-in structuring hook for namedtuples (like fontTools' Transform) fails when using from __future__ import annotations, we can avoid it by defining our own structuring hook specific to Transform class, which is trivial

Fixes fonttools/fonttools#3744

cattrs built-in structuring hook for namedtuples (like Transform) fails when using from __future__ import annotations, we can avoid it by defining our own structuring hook specific to fontTools Transform class, which is trivial
@anthrotype
Copy link
Member Author

/cc @Hoolean

@anthrotype anthrotype merged commit 440b2dd into main Jan 21, 2025
7 checks passed
@anthrotype anthrotype deleted the structure-ft-transform branch January 21, 2025 12:24
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.

JSON ufo deserialization broken?
1 participant