mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 13:02:59 +00:00
bitmap flip
This commit is contained in:
@@ -179,7 +179,7 @@ class OfTheDayManager:
|
||||
if byte_index < len(bitmap.buffer):
|
||||
byte = bitmap.buffer[byte_index]
|
||||
if byte & (1 << (7 - (j % 8))):
|
||||
draw.point((x + j, glyph_y - i), fill=color)
|
||||
draw.point((x + j, glyph_y + i), fill=color)
|
||||
x += face.glyph.advance.x >> 6
|
||||
return x - orig_x
|
||||
|
||||
|
||||
Reference in New Issue
Block a user