From 2e9de11d6ca8f19ed9c8e3726c3976c16e3c09ae Mon Sep 17 00:00:00 2001 From: ellson Date: Sat, 12 Feb 2011 17:39:57 +0000 Subject: [PATCH] fractionally less linespacing --- plugin/pango/gvtextlayout_pango.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/pango/gvtextlayout_pango.c b/plugin/pango/gvtextlayout_pango.c index f70713255..13fa5b8b4 100644 --- a/plugin/pango/gvtextlayout_pango.c +++ b/plugin/pango/gvtextlayout_pango.c @@ -227,7 +227,7 @@ static boolean pango_textlayout(textpara_t * para, char **fontpath) * Use an assumed height based on the point size. */ - para->height = (int)(para->fontsize * 1.3); + para->height = (int)(para->fontsize * 1.2 + .5); /* The y offset from baseline to 0,0 of the bitmap representation */ para->yoffset_layout = pango_layout_get_baseline (layout) * textlayout_scale; -- 2.40.0