From 83b18d7a0d04501d858ac73217cdc86acbc2687c Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Thu, 19 Dec 2019 16:43:37 +0300 Subject: [PATCH] .trump: make image size be... better --- cogs/imagemanip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/imagemanip.py b/cogs/imagemanip.py index 031e82c..8e0abf1 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) + 2) * vertpos + image_height = (len(lines) + 3) * vertpos # Load font f = PIL.ImageFont.truetype(font_path, font_size)