From 3f3e5f1e3bee5235fc3cda4eb15c8276af052d4c Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Wed, 9 Jun 2004 09:07:44 +0000 Subject: [PATCH] try using advance metrics SVN revision: 10479 --- src/font_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/font_draw.c b/src/font_draw.c index 92fdfa5..69985ff 100644 --- a/src/font_draw.c +++ b/src/font_draw.c @@ -78,7 +78,7 @@ imlib_render_str(ImlibImage * im, ImlibFont * fn, int drx, int dry, DATA32 *data, col; int nx, ny, tmp; - imlib_font_query_size(fn, text, &w, &h); + imlib_font_query_advance(fn, text, &w, &h); data = malloc(w * h * sizeof(DATA32)); if (!data)