mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 13:02:59 +00:00
change font test size
This commit is contained in:
@@ -25,7 +25,7 @@ class FontTestManager:
|
||||
|
||||
# Load the TTF font with PIL
|
||||
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}")
|
||||
except Exception as e:
|
||||
self.logger.error(f"Failed to load 5x7 TTF font: {e}")
|
||||
|
||||
@@ -8,8 +8,8 @@ import os
|
||||
import time
|
||||
import logging
|
||||
|
||||
# Add the src directory to the path
|
||||
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src'))
|
||||
# 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__), '..'))
|
||||
|
||||
from src.display_manager import DisplayManager
|
||||
from src.config_manager import ConfigManager
|
||||
|
||||
Reference in New Issue
Block a user