From 0d47875dec28051f7706c6ee011bc0455254aab0 Mon Sep 17 00:00:00 2001 From: Chuck <33324927+ChuckBuilds@users.noreply.github.com> Date: Wed, 23 Jul 2025 10:24:43 -0500 Subject: [PATCH] fix new bdf font draw error --- src/of_the_day_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/of_the_day_manager.py b/src/of_the_day_manager.py index 6fceb0b0..b37681f3 100644 --- a/src/of_the_day_manager.py +++ b/src/of_the_day_manager.py @@ -38,8 +38,8 @@ class OfTheDayManager: # Load fonts font_dir = os.path.join(os.path.dirname(__file__), '..', 'assets', 'fonts') - self.title_font = ImageFont.load(os.path.join(font_dir, 'ic8x8u.bdf')) - self.body_font = ImageFont.load(os.path.join(font_dir, 'cozette.bdf')) + self.title_font = ImageFont.load_bdf(os.path.join(font_dir, 'ic8x8u.bdf')) + self.body_font = ImageFont.load_bdf(os.path.join(font_dir, 'cozette.bdf')) # Load categories and their data self.categories = self.of_the_day_config.get('categories', {})