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

Use getbbox for FreeTypeFont #33

Merged
merged 1 commit into from
Nov 10, 2023
Merged

Conversation

famura
Copy link
Contributor

@famura famura commented Oct 20, 2023

This PR aims to solve #31 where using Pillow >= v10.0.0 results in an error when creating a badge.

Maybe of interest: https://pillow.readthedocs.io/en/stable/_modules/PIL/ImageFont.html

Fixes #31

@smarie smarie merged commit 04874ee into smarie:main Nov 10, 2023
@smarie
Copy link
Owner

smarie commented Nov 10, 2023

Perfect, thanks @famura !

@famura
Copy link
Contributor Author

famura commented Nov 10, 2023

Don't thank me too early, I only tested it locally on one machine 😅

@famura famura deleted the fix/FreeTypeFont_getsize branch November 14, 2023 10:02
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.

Issue when using Pillow 10
2 participants