Revert ".trump: make image size be... better"
This reverts commit 83b18d7a0d
.
This commit is contained in:
parent
83b18d7a0d
commit
fac3ac3605
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) + 3) * vertpos
|
image_height = (len(lines) + 2) * 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