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

Auto widht #50

Open
SuperZombi opened this issue Aug 18, 2021 · 1 comment
Open

Auto widht #50

SuperZombi opened this issue Aug 18, 2021 · 1 comment

Comments

@SuperZombi
Copy link

Can I auto-select the width so that the text fits completely into the picture? I found the text_width variable in your library, but I don't have access to it.

@TruncatedDinoSour
Copy link

TruncatedDinoSour commented Jul 18, 2024

@lepture idr how this works, but https://gist.github.com/TruncatedDinoSour/83f324cb156ca8cd58284d436a0d9f75 might be helpful for this

or just calculate by using the font

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants