mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 13:02:59 +00:00
new fonts: Matrix light & chunky
This commit is contained in:
9822
assets/fonts/MatrixChunky8.bdf
Normal file
9822
assets/fonts/MatrixChunky8.bdf
Normal file
File diff suppressed because it is too large
Load Diff
5236
assets/fonts/MatrixLight6.bdf
Normal file
5236
assets/fonts/MatrixLight6.bdf
Normal file
File diff suppressed because it is too large
Load Diff
5417
assets/fonts/MatrixLight6X.bdf
Normal file
5417
assets/fonts/MatrixLight6X.bdf
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -39,8 +39,8 @@ class OfTheDayManager:
|
||||
|
||||
# Load fonts using freetype
|
||||
font_dir = os.path.join(os.path.dirname(__file__), '..', 'assets', 'fonts')
|
||||
self.title_font = freetype.Face(os.path.join(font_dir, 'MatrixLight8X.bdf'))
|
||||
self.body_font = freetype.Face(os.path.join(font_dir, '5x7.bdf'))
|
||||
self.title_font = freetype.Face(os.path.join(font_dir, 'MatrixChunky8.bdf'))
|
||||
self.body_font = freetype.Face(os.path.join(font_dir, 'MatrixLight6.bdf'))
|
||||
|
||||
# Load categories and their data
|
||||
self.categories = self.of_the_day_config.get('categories', {})
|
||||
|
||||
Reference in New Issue
Block a user