From 5ed038b19d0b09745a7afe5572cbd888117f035f Mon Sep 17 00:00:00 2001 From: John Ellson Date: Wed, 4 Sep 2013 14:32:17 -0400 Subject: [PATCH] remove attmpt at pixel rounding that was causing rotaion problems - fixes #2343 --- lib/common/emit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/common/emit.c b/lib/common/emit.c index 575d1ad83..b6c8d2f67 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -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. */ -- 2.40.0