From: ellson Date: Tue, 21 Mar 2006 00:23:02 +0000 (+0000) Subject: A smaller tweek to label vertical position. X-Git-Tag: LAST_LIBGRAPH~32^2~6729 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=466d6508711650d323169c4ee00741214bac55d9;p=graphviz A smaller tweek to label vertical position. --- diff --git a/lib/common/labels.c b/lib/common/labels.c index 66677d8df..a82b20039 100644 --- a/lib/common/labels.c +++ b/lib/common/labels.c @@ -189,7 +189,7 @@ emit_textlines(GVJ_t* job, int nlines, textline_t lines[], pointf p, /* position for first line - FUDGE */ p.y += (linespacing * (nlines - 1) / 2) /* cl of topline */ - -fsize / 5.0; /* cl to baseline */ + -fsize * 0.23; /* cl to baseline */ tmp = ROUND(p.y); /* align with interger points */ p.y = (double)tmp;