-
Notifications
You must be signed in to change notification settings - Fork 66
Replace pillow's deprecated textsize, add zooming support #75
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
base: main
Are you sure you want to change the base?
Conversation
Use textbbox instead of the deprecated textsize method
Take into account font descent when computing the size of the text bbox
Bring back accidentally deleted lines
@jbruned Thank you so much for the PR!! Especially for the zooming support! I'll review it asap. |
Sure! It's a pretty basic implementation but I found it useful for my use case so I opened a PR. Thank you for the tool as well! |
Please merge this PR! |
Thank you so much for your interest, @Nodemana !! I truly appreciate it. The project looks a bit abandoned at the moment, as I'm currently busy with my PhD project, which is in a completely different domain. I'll look into it as soon as possible—it's really motivating to see your interest! :) |
I know your pain friend. |
getbboxsize
instead of the deprecatedtextsize
[critical fix, closes Issue: PIL deprecated the textsize() method in 10.0.0 #74]image_root
, if available, when not provided via command line [feature]Ctrl
++
orCtrl
+-
[feature, closes Large image support #53]