Skip to content

repalced draw.textsize(text, font) with font.getbbox(text) as the for…#73

Open
rasmuspjohansson wants to merge 1 commit intotarasio-mirror:mainfrom
rasmuspjohansson:main
Open

repalced draw.textsize(text, font) with font.getbbox(text) as the for…#73
rasmuspjohansson wants to merge 1 commit intotarasio-mirror:mainfrom
rasmuspjohansson:main

Conversation

@rasmuspjohansson
Copy link

The function textsize() is deptricated and does not work on newer python (3.9)
The new solutiuon is validated to work under python 3.9

@00sapo
Copy link

00sapo commented Sep 9, 2024

Works for me on python 3.11.2

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