diff --git a/src/gdisp/gdisp.c b/src/gdisp/gdisp.c index 5ad06f96..22773908 100644 --- a/src/gdisp/gdisp.c +++ b/src/gdisp/gdisp.c @@ -671,6 +671,7 @@ void gdispDrawBox(coord_t x, coord_t y, coord_t cx, coord_t cy, color_t color) { state.cx = GDISP.Width - x; state.cy = GDISP.Height - y; + x += font->baseline_x; mf_render_aligned(font, x, y, MF_ALIGN_LEFT, str, 0, gdispDrawString_callback, &state); }