mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 13:02:59 +00:00
feat: add detailed font type and size logging for debugging
This commit is contained in:
@@ -157,6 +157,8 @@ class DisplayManager:
|
||||
logger.info(f"Attempting to load tom-thumb font from: {font_path}")
|
||||
self.calendar_font = ImageFont.load(font_path)
|
||||
logger.info(f"tom-thumb calendar font loaded successfully from {font_path}")
|
||||
logger.info(f"Calendar font type: {type(self.calendar_font)}")
|
||||
logger.info(f"Calendar font size: {self.calendar_font.size}")
|
||||
except Exception as font_err:
|
||||
logger.error(f"Failed to load tom-thumb font: {font_err}. Falling back to small font.")
|
||||
self.calendar_font = self.small_font
|
||||
|
||||
Reference in New Issue
Block a user