From c1bac62d9185b69059754ef556086ee604117c44 Mon Sep 17 00:00:00 2001 From: ChuckBuilds <33324927+ChuckBuilds@users.noreply.github.com> Date: Fri, 25 Apr 2025 10:46:25 -0500 Subject: [PATCH] updates to enable .bdf font in mlb_manager --- src/mlb_manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mlb_manager.py b/src/mlb_manager.py index 05bbbddd..fed9f4c2 100644 --- a/src/mlb_manager.py +++ b/src/mlb_manager.py @@ -169,6 +169,7 @@ class BaseMLBManager: home_score = str(game_data['home_score']) score_text = f"{away_score}-{home_score}" + # Calculate position for the score text (centered at the bottom) score_bbox = draw.textbbox((0, 0), score_text, font=self.display_manager.font) score_width = score_bbox[2] - score_bbox[0]