From fac3ac3605317ae1aeed973e1fb7f27267ed4dc6 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Sun, 22 Dec 2019 01:18:59 +0300 Subject: [PATCH] Revert ".trump: make image size be... better" This reverts commit 83b18d7a0d04501d858ac73217cdc86acbc2687c. --- cogs/imagemanip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/imagemanip.py b/cogs/imagemanip.py index 8e0abf1..031e82c 100644 --- a/cogs/imagemanip.py +++ b/cogs/imagemanip.py @@ -98,7 +98,7 @@ class ImageManip(Cog): # Wrap into lines lines = textwrap.wrap(headline, width=font_wrap_count) # not great, 4am be like - image_height = (len(lines) + 3) * vertpos + image_height = (len(lines) + 2) * vertpos # Load font f = PIL.ImageFont.truetype(font_path, font_size)