]> granicus.if.org Git - graphviz/commitdiff
increase fudge factor increase of background size to cover accumulation
authorellson <devnull@localhost>
Mon, 16 Jan 2006 22:27:43 +0000 (22:27 +0000)
committerellson <devnull@localhost>
Mon, 16 Jan 2006 22:27:43 +0000 (22:27 +0000)
of errors (or something) in:  dot | dot -Knop

lib/common/emit.c

index 24df320598a6afe889d763bc8984ee3bde22b0dd..c817591a6117b8af5028ab705c0b3dc7e2e7b1a4 100644 (file)
@@ -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";