From c4bc01fdb1ac609bc0ba319702e5512ec8bad431 Mon Sep 17 00:00:00 2001 From: ChuckBuilds <33324927+ChuckBuilds@users.noreply.github.com> Date: Mon, 21 Apr 2025 21:18:19 -0500 Subject: [PATCH] changed while loop to scale ChuckBuilds Sign --- ChuckBuilds.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ChuckBuilds.py b/ChuckBuilds.py index dda16fd9..893e23b3 100644 --- a/ChuckBuilds.py +++ b/ChuckBuilds.py @@ -41,7 +41,9 @@ def main(): text = " Chuck Builds" # Find the largest font size that fits - max_font_size = 100 # Set a reasonable maximum font size + min_font_size = 6 + max_font_size = 36 + font_size = min_font_size while font_size <= max_font_size: bbox = draw.textbbox((0, 0), text, font=font) text_width = bbox[2] - bbox[0]