mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 13:02:59 +00:00
font size too small
This commit is contained in:
@@ -38,8 +38,8 @@ class OfTheDayManager:
|
||||
|
||||
# Load fonts using PIL
|
||||
font_dir = os.path.join(os.path.dirname(__file__), '..', 'assets', 'fonts')
|
||||
self.title_font = ImageFont.truetype(os.path.join(font_dir, '5by7.regular.ttf'), 7)
|
||||
self.body_font = ImageFont.truetype(os.path.join(font_dir, 'dot_digital-7.ttf'), 7)
|
||||
self.title_font = ImageFont.truetype(os.path.join(font_dir, '5by7.regular.ttf'), 12)
|
||||
self.body_font = ImageFont.truetype(os.path.join(font_dir, 'dot_digital-7.ttf'), 10)
|
||||
|
||||
# Load categories and their data
|
||||
self.categories = self.of_the_day_config.get('categories', {})
|
||||
|
||||
Reference in New Issue
Block a user