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

How t resize the font depending on the number of characters? #5

Closed
giggioman00 opened this issue Jan 13, 2023 · 1 comment
Closed
Labels
enhancement New feature or request question Further information is requested

Comments

@giggioman00
Copy link

Hi,
I have a list of text quotes (and of course, they may be of various lenght, some may be shorter while others longer)
I was thinking to use this moduleto bulk print this quotes to image but I'm not sure if this module can handle text resize automatically. I guess longer the quote, the more the resize should be in order to fit into the image. But can this module handle this? How?

@NotCookey
Copy link
Owner

Hi, I have a list of text quotes (and of course, they may be of various lenght, some may be shorter while others longer) I was thinking to use this moduleto bulk print this quotes to image but I'm not sure if this module can handle text resize automatically. I guess longer the quote, the more the resize should be in order to fit into the image. But can this module handle this? How?

The width and height of the image is specified by the user which means if you were to make the output image resize based on the length of the quote & author then you were to do some calculations and apply it. This isn't a feature yet but as you bought it up this seems like a really good idea. I will be looking into it and see if I could implement such a function to map the height and width as per the length.

@NotCookey NotCookey added question Further information is requested enhancement New feature or request labels Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants