.trump: make image size be... better
This commit is contained in:
parent
e53a6341a5
commit
83b18d7a0d
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class ImageManip(Cog):
|
||||||
# Wrap into lines
|
# Wrap into lines
|
||||||
lines = textwrap.wrap(headline, width=font_wrap_count)
|
lines = textwrap.wrap(headline, width=font_wrap_count)
|
||||||
# not great, 4am be like
|
# not great, 4am be like
|
||||||
image_height = (len(lines) + 2) * vertpos
|
image_height = (len(lines) + 3) * vertpos
|
||||||
|
|
||||||
# Load font
|
# Load font
|
||||||
f = PIL.ImageFont.truetype(font_path, font_size)
|
f = PIL.ImageFont.truetype(font_path, font_size)
|
||||||
|
|
Loading…
Reference in a new issue