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

VF settings fixup for #812/#813 #815

Merged
merged 6 commits into from
Oct 7, 2022

Conversation

jenskutilek
Copy link
Contributor

@jenskutilek jenskutilek commented Oct 5, 2022

Small fixup for #812 and #813.

@@ -141,6 +141,9 @@
OFFCURVE = "offcurve"
QCURVE = "qcurve"

INSTANCETYPESINGLE = 0
INSTANCETYPEVARIABLE = 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be defined in https://github.com/googlefonts/glyphsLib/blob/main/Lib/glyphsLib/builder/constants.py maybe? The same probably applies for the other constants defined in here, at least those that are imported by other modules and not private to the current one.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving it there leads to circular imports. It's not immediately obvious to me how to avoid that ...

Lib/glyphsLib/classes.py Outdated Show resolved Hide resolved
@anthrotype
Copy link
Member

LGTM

@anthrotype anthrotype merged commit 23aadaf into googlefonts:main Oct 7, 2022
@jenskutilek jenskutilek deleted the vf-settings-fixup branch October 7, 2022 11:21
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.

3 participants