]> granicus.if.org Git - graphviz/commitdiff
A smaller tweek to label vertical position.
authorellson <devnull@localhost>
Tue, 21 Mar 2006 00:23:02 +0000 (00:23 +0000)
committerellson <devnull@localhost>
Tue, 21 Mar 2006 00:23:02 +0000 (00:23 +0000)
lib/common/labels.c

index 66677d8df71ab2abe432e72be17309c96dd32e02..a82b20039f82e7f50ab024c2f30254103535562f 100644 (file)
@@ -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;