Skip to content

add property setter for Font.kerning to coerce dict to Kerning class#189

Merged
anthrotype merged 1 commit into
masterfrom
kerning-property-setter
Dec 16, 2021
Merged

add property setter for Font.kerning to coerce dict to Kerning class#189
anthrotype merged 1 commit into
masterfrom
kerning-property-setter

Conversation

@anthrotype

Copy link
Copy Markdown
Member

This is to continue supporting font.kerning = {(a, b): -10, ...} even after we typed Font.kerning as Kerning dict subclass (to customize (un)structuring via cattrs in #181).

Alternative to #188

This is to continue supporting font.kerning = {(a, b): -10, ...} even after we typed Font.kerning as Kerning dict subclass to customize (un)structuring via cattrs in #181
@anthrotype anthrotype merged commit 66d3de0 into master Dec 16, 2021
@anthrotype anthrotype deleted the kerning-property-setter branch December 16, 2021 18:17
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.

1 participant