From 143b98120353cd7ee9a3b8a17e5556c5d3d3aadd Mon Sep 17 00:00:00 2001 From: ChuckBuilds <33324927+ChuckBuilds@users.noreply.github.com> Date: Sat, 19 Apr 2025 12:18:39 -0500 Subject: [PATCH] Change font test to use 4x6 font instead of PressStart2P-Regular --- src/font_test_manager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/font_test_manager.py b/src/font_test_manager.py index c08e7485..6fe5643b 100644 --- a/src/font_test_manager.py +++ b/src/font_test_manager.py @@ -10,12 +10,12 @@ logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) class FontTestManager: - """Manager for testing different font sizes of PressStart2P-Regular.""" + """Manager for testing different font sizes of 4x6 font.""" def __init__(self, config: Dict[str, Any], display_manager: DisplayManager): self.display_manager = display_manager self.config = config - self.font_path = "assets/fonts/PressStart2P-Regular.ttf" + self.font_path = "assets/fonts/4x6-font.ttf" self.font_sizes = [4, 6, 8, 10, 12, 14, 16, 18] self.logger = logging.getLogger('FontTest') @@ -24,7 +24,7 @@ class FontTestManager: self.logger.error(f"Font file not found: {self.font_path}") raise FileNotFoundError(f"Font file not found: {self.font_path}") - self.logger.info(f"Initialized FontTestManager with {len(self.font_sizes)} font sizes to test") + self.logger.info(f"Initialized FontTestManager with {len(self.font_sizes)} font sizes to test using 4x6 font") def update(self): """No update needed for static display."""