From a2a9f0eb220895ea2c5e904fda728b877577bbb4 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Thu, 11 Mar 2010 13:08:20 -0800 Subject: [PATCH 1/1] fixed linegap value --- lib/gfxfont.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gfxfont.c b/lib/gfxfont.c index c0cbac2..e99816c 100644 --- a/lib/gfxfont.c +++ b/lib/gfxfont.c @@ -698,7 +698,7 @@ ttf_t* gfxfont_to_ttf(gfxfont_t*font) ttf->ascent = font->ascent; ttf->descent = font->descent; - ttf->lineGap = font->ascent - font->descent; + ttf->lineGap = 0; ttf->full_name = strdup(font->id); ttf->family_name = strdup(font->id); -- 1.7.10.4