From a256cb5d7456319f04864aa9773cec58c2e5eb67 Mon Sep 17 00:00:00 2001 From: cyteon Date: Thu, 16 May 2024 10:43:37 +0200 Subject: [PATCH] Font size should be 100 not 0 --- utils/imagenarator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/imagenarator.py b/utils/imagenarator.py index 0f42876..ac6b149 100644 --- a/utils/imagenarator.py +++ b/utils/imagenarator.py @@ -85,9 +85,9 @@ def comment_image_maker(theme, reddit_obj: dict, comments, txtclr, padding=5, tr id = re.sub(r"[^\w\s-]", "", reddit_obj["thread_id"]) if transparent: - font = ImageFont.truetype(os.path.join("fonts", "Roboto-Bold.ttf"), 0) + font = ImageFont.truetype(os.path.join("fonts", "Roboto-Bold.ttf"), 100) else: - font = ImageFont.truetype(os.path.join("fonts", "Roboto-Regular.ttf"), 0) + font = ImageFont.truetype(os.path.join("fonts", "Roboto-Regular.ttf"), 100) size = (1920, 1080) print_step("Rendering Images")