From: ellson Date: Mon, 16 Jan 2006 22:27:43 +0000 (+0000) Subject: increase fudge factor increase of background size to cover accumulation X-Git-Tag: LAST_LIBGRAPH~32^2~6867 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac4adaca1c1752c2c4560f47fe5e7c8eff1ed453;p=graphviz increase fudge factor increase of background size to cover accumulation of errors (or something) in: dot | dot -Knop --- diff --git a/lib/common/emit.c b/lib/common/emit.c index 24df32059..c817591a6 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -381,7 +381,7 @@ void emit_background(GVJ_t * job, graph_t *g) point A[4]; int i; /* fudge to compensate for rounding errors */ - double fudge = 1 * POINTS_PER_INCH / (job->zoom * job->dpi); + double fudge = 2 * POINTS_PER_INCH / (job->zoom * job->dpi); if (! ((str = agget(g, "bgcolor")) && str[0])) str = "white";