From 401203cd8384a044a3fd6d4b815800573cad4b1d Mon Sep 17 00:00:00 2001 From: j Date: Wed, 22 May 2024 11:04:18 +0200 Subject: [PATCH] use bold --- edit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edit.py b/edit.py index 144aaf6..973c20b 100755 --- a/edit.py +++ b/edit.py @@ -135,7 +135,7 @@ def make_title(title): width = 852 height = 480 image = Image.new("RGB", (width, height), "black") - font = ImageFont.truetype("/usr/share/fonts/truetype/roboto/unhinted/RobotoTTF/Roboto-Regular.ttf", size=30) + font = ImageFont.truetype("/usr/share/fonts/truetype/roboto/unhinted/RobotoTTF/Roboto-Bold.ttf", size=30) draw = ImageDraw.Draw(image) _, _, font_width, font_height = font.getbbox(title) new_width = (width - font_width) / 2