mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 13:02:59 +00:00
shift bdf draw text down
This commit is contained in:
@@ -146,6 +146,9 @@ class DisplayManager:
|
||||
# Use the passed font or fall back to calendar_font
|
||||
face = font if font else self.calendar_font
|
||||
|
||||
# Add 4-pixel adjustment for vertical alignment
|
||||
y += 4
|
||||
|
||||
for char in text:
|
||||
face.load_char(char)
|
||||
bitmap = face.glyph.bitmap
|
||||
|
||||
Reference in New Issue
Block a user