commit | 8071c47b0ca8f471cbd6175e0f2e45739983bf4e | [log] [tgz] |
---|---|---|
author | cristy <[email protected]> | Mon Sep 24 12:41:06 2012 +0000 |
committer | cristy <[email protected]> | Mon Sep 24 12:41:06 2012 +0000 |
tree | cc761453eb00e59ec8e675cb1034580a8fe18086 | |
parent | f181cbe13c9639632d522bf326176d2461db2495 [diff] [blame] |
diff --git a/coders/xps.c b/coders/xps.c index 23e8af7..96fa3e1 100644 --- a/coders/xps.c +++ b/coders/xps.c
@@ -252,8 +252,8 @@ /* Set XPS render geometry. */ - width=(size_t) (floor(bounds.x2-0.5)-ceil(bounds.x1-0.5)); - height=(size_t) (floor(bounds.y2-0.5)-ceil(bounds.y1-0.5)); + width=(size_t) (floor(bounds.x2+0.5)-ceil(bounds.x1-0.5)); + height=(size_t) (floor(bounds.y2+0.5)-ceil(bounds.y1-0.5)); if (width > page.width) page.width=width; if (height > page.height)