fix bdf drawing in other displays relying on display manager

This commit is contained in:
Chuck
2025-07-23 14:36:35 -05:00
parent b5b18babe8
commit 2af78a37d5

View File

@@ -163,7 +163,7 @@ class DisplayManager:
if byte & (1 << (7 - (j % 8))):
# Calculate actual pixel position
pixel_x = x + glyph_left + j
pixel_y = y + glyph_top - i
pixel_y = y - glyph_top + i
# Only draw if within bounds
if (0 <= pixel_x < self.matrix.width and
0 <= pixel_y < self.matrix.height):