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

Add leading #12

Open
vonloxley opened this issue Jun 12, 2018 · 0 comments
Open

Add leading #12

vonloxley opened this issue Jun 12, 2018 · 0 comments

Comments

@vonloxley
Copy link

It would be nice to get some leading between the lines. I used the following to get a line-height of 150%:

textsize = draw.multiline_textsize(text, font=im_font, spacing=kwargs['font_size']//2)

draw.multiline_text(offset, text, (0), font=im_font, align=kwargs['align'], spacing=kwargs['font_size']//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

No branches or pull requests

1 participant