mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 21:33:00 +00:00
change font test size
This commit is contained in:
@@ -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, 5) # Size 7 for 5x7 font
|
self.font = ImageFont.truetype(self.font_path, 8) # 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}")
|
||||||
|
|||||||
Reference in New Issue
Block a user