]> granicus.if.org Git - graphviz/commitdiff
remove attmpt at pixel rounding that was causing rotaion problems - fixes #2343
authorJohn Ellson <ellson@research.att.com>
Wed, 4 Sep 2013 18:32:17 +0000 (14:32 -0400)
committerJohn Ellson <ellson@research.att.com>
Wed, 4 Sep 2013 18:32:17 +0000 (14:32 -0400)
lib/common/emit.c

index 575d1ad837d6160f108742aecc64ac6aee784163..b6c8d2f67a29111f5eaa7ba4d57c88194e1d4942 100644 (file)
@@ -1617,9 +1617,9 @@ static void setup_page(GVJ_t * job, graph_t * g)
     }
     else {
         job->clip.LL.x = job->focus.x + job->pageSize.x * (pagesArrayElem.x - pagesArraySize.x / 2.);
-        job->clip.LL.y = job->focus.y + job->pageSize.y * (pagesArrayElem.y - pagesArraySize.y / 2.) - 1;
-        job->clip.UR.x = job->clip.LL.x + job->pageSize.x + 1;
-        job->clip.UR.y = job->clip.LL.y + job->pageSize.y + 1;
+        job->clip.LL.y = job->focus.y + job->pageSize.y * (pagesArrayElem.y - pagesArraySize.y / 2.);
+        job->clip.UR.x = job->clip.LL.x + job->pageSize.x;
+        job->clip.UR.y = job->clip.LL.y + job->pageSize.y;
     }
 
     /* CAUTION - job->translation was difficult to get right. */