From 40e42b1307d02623a8d241d782e59993a91109a2 Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 16 Apr 2023 15:45:07 +0200 Subject: [PATCH] Fix font size --- utils/imagenarator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/imagenarator.py b/utils/imagenarator.py index a3883b6..847073c 100644 --- a/utils/imagenarator.py +++ b/utils/imagenarator.py @@ -68,9 +68,9 @@ def imagemaker(theme, reddit_obj: dict, txtclr, padding=5, transparent=False) -> tfont = ImageFont.truetype(os.path.join("fonts", "Roboto-Bold.ttf"), 50) else: tfont = ImageFont.truetype( - os.path.join("fonts", "Roboto-Bold.ttf"), 35 + os.path.join("fonts", "Roboto-Bold.ttf"), 100 ) # for title - font = ImageFont.truetype(os.path.join("fonts", "Roboto-Regular.ttf"), 30) + font = ImageFont.truetype(os.path.join("fonts", "Roboto-Regular.ttf"), 90) size = (1920, 1080) image = Image.new("RGBA", size, theme)