From 141063117e81c5d68b08f37749db8ce71ec8db17 Mon Sep 17 00:00:00 2001 From: Chuck <33324927+ChuckBuilds@users.noreply.github.com> Date: Wed, 23 Jul 2025 11:36:25 -0500 Subject: [PATCH] fix body text height --- src/of_the_day_manager.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/of_the_day_manager.py b/src/of_the_day_manager.py index 71eb8860..10593362 100644 --- a/src/of_the_day_manager.py +++ b/src/of_the_day_manager.py @@ -194,7 +194,9 @@ class OfTheDayManager: # Get font heights title_height = title_font.height - body_height = body_font.height + # Calculate actual body height from the font + body_font.load_char('A') # Load a character to get its height + body_height = body_font.glyph.bitmap.rows # --- Draw Title (always at top, 5x7.bdf) --- title_y = 0 # Start at top