mirror of
https://github.com/WeActStudio/WeActStudio.EpaperModule.git
synced 2026-08-16 13:13:45 +02:00
fix 8x6 char display bug
This commit is contained in:
@@ -624,7 +624,14 @@ void epd_paint_showString(uint16_t x, uint16_t y, uint8_t *chr, uint16_t size1,
|
||||
{
|
||||
epd_paint_showChar(x, y, *chr, size1, color);
|
||||
chr++;
|
||||
x += size1 / 2;
|
||||
if (size1 == 8)
|
||||
{
|
||||
x += 6;
|
||||
}
|
||||
else
|
||||
{
|
||||
x += size1 / 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user