From: ellson <devnull@localhost>
Date: Sat, 12 Feb 2011 17:39:57 +0000 (+0000)
Subject: fractionally less linespacing
X-Git-Tag: LAST_LIBGRAPH~32^2~1038
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e9de11d6ca8f19ed9c8e3726c3976c16e3c09ae;p=graphviz

fractionally less linespacing
---

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;