From fe88693c9015fbec949f5ad953bcedaae230f4cf Mon Sep 17 00:00:00 2001 From: Themaister Date: Tue, 10 Jul 2012 13:40:13 +0200 Subject: [PATCH] Fix font rendering on Pi. --- gfx/rpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/rpi.c b/gfx/rpi.c index 9a613f161e..b301c27613 100644 --- a/gfx/rpi.c +++ b/gfx/rpi.c @@ -284,7 +284,7 @@ static void rpi_render_message(rpi_t *rpi, const char *msg) escapement[0] = head->advance_x; escapement[1] = head->advance_y; origin[0] = -head->char_off_x; - origin[1] = head->char_off_y; + origin[1] = -head->char_off_y; img = vgCreateImage(VG_A_8, head->width, head->height, VG_IMAGE_QUALITY_NONANTIALIASED);