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

AttributeError: 'FreeTypeFont' object has no attribute 'getsize' #175

Closed
helgibbons opened this issue Sep 6, 2023 · 0 comments · Fixed by #180
Closed

AttributeError: 'FreeTypeFont' object has no attribute 'getsize' #175

helgibbons opened this issue Sep 6, 2023 · 0 comments · Fixed by #180
Labels
bug Something isn't working

Comments

@helgibbons
Copy link
Contributor

Looks like the getsize() method is deprecated in Pillow 10.0.0, so the examples that use it will need updating.

In the meantime, it works if you roll back to an older version of Pillow:

pip install Pillow==9.5.0

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

Successfully merging a pull request may close this issue.

1 participant