From: ellson Date: Mon, 22 May 2006 13:14:00 +0000 (+0000) Subject: some missed changes X-Git-Tag: LAST_LIBGRAPH~32^2~6590 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=053e107544bc20e0c2853c479e19e5fde40e124c;p=graphviz some missed changes --- diff --git a/lib/common/gdgen.c b/lib/common/gdgen.c index 944020592..f68f06787 100644 --- a/lib/common/gdgen.c +++ b/lib/common/gdgen.c @@ -576,15 +576,15 @@ static void gd_textline(point p, textline_t * line) mp.x = p.x; break; case 'r': - mp.x = p.x - line->width; + mp.x = p.x - line->dimen.x; break; default: case 'n': - mp.x = p.x - line->width / 2; + mp.x = p.x - line->dimen.x / 2; break; } ep.y = mp.y = p.y; - ep.x = mp.x + line->width; + ep.x = mp.x + line->dimen.x; mp = gdpt(mp); if (fontsz <= FONTSIZE_MUCH_TOO_SMALL) {