From: ellson Date: Sat, 20 Sep 2008 10:00:14 +0000 (+0000) Subject: very small adjustment to y position of text in cairo renderers X-Git-Tag: LAST_LIBGRAPH~32^2~3362 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c8050fb627cf1722676d4b24b9fc607cd40f9738;p=graphviz very small adjustment to y position of text in cairo renderers --- diff --git a/plugin/pango/gvtextlayout_pango.c b/plugin/pango/gvtextlayout_pango.c index 1dd8e195c..44cbb1ee6 100644 --- a/plugin/pango/gvtextlayout_pango.c +++ b/plugin/pango/gvtextlayout_pango.c @@ -175,7 +175,7 @@ static boolean pango_textlayout(textpara_t * para, char **fontpath) para->yoffset_layout = pango_layout_iter_get_baseline (iter) * textlayout_scale; /* The distance below midline for y centering of text strings */ - para->yoffset_centerline = 0.1 * para->fontsize; + para->yoffset_centerline = 0.15 * para->fontsize; pango_layout_iter_free (iter); if (logical_rect.width == 0)