change font test size

This commit is contained in:
Chuck
2025-07-22 21:46:33 -05:00
parent 7c45179248
commit b6244075a7
2 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ class FontTestManager:
# Load the TTF font with PIL # Load the TTF font with PIL
try: try:
self.font = ImageFont.truetype(self.font_path, 7) # Size 7 for 5x7 font self.font = ImageFont.truetype(self.font_path, 5) # Size 7 for 5x7 font
self.logger.info(f"Successfully loaded 5x7 regular TTF font from {self.font_path}") self.logger.info(f"Successfully loaded 5x7 regular TTF font from {self.font_path}")
except Exception as e: except Exception as e:
self.logger.error(f"Failed to load 5x7 TTF font: {e}") self.logger.error(f"Failed to load 5x7 TTF font: {e}")

View File

@@ -8,8 +8,8 @@ import os
import time import time
import logging import logging
# Add the src directory to the path # Add the parent directory to the Python path so we can import from src
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src')) sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
from src.display_manager import DisplayManager from src.display_manager import DisplayManager
from src.config_manager import ConfigManager from src.config_manager import ConfigManager