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

Fix wrong enum name in Face.get_fstype() #189

Merged
merged 2 commits into from
Apr 16, 2024
Merged

Conversation

NCBM
Copy link
Contributor

@NCBM NCBM commented Apr 14, 2024

The symbol FT_FSTYPE_XXX does not exist in freetype/ft_enums/ft_fstypes.py, and instead it is named FT_FSTYPES in that file.

Face.get_fstype() used the (maybe) wrong name and raises an error when calling it.

@HinTak
Copy link
Collaborator

HinTak commented Apr 15, 2024

This looks okay - would you consider adding a test into the tests directory for this also?

@NCBM
Copy link
Contributor Author

NCBM commented Apr 15, 2024

This looks okay - would you consider adding a test into the tests directory for this also?

Added in smoke_test.py; what about this?

@HinTak
Copy link
Collaborator

HinTak commented Apr 16, 2024

Perfect. Thanks for the work. I'll merge this when CI check finishes.

@HinTak HinTak merged commit 0e6303a into rougier:master Apr 16, 2024
7 checks passed
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.

2 participants