From: Johan Engelen Date: Sat, 10 Apr 2010 12:51:38 +0000 (+0200) Subject: fix bug 168275 by removing a ceil on document height and width in pdf/eps/ps exporter. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=09ff61b38270862163a561a7f45acb203db68625;p=inkscape.git fix bug 168275 by removing a ceil on document height and width in pdf/eps/ps exporter. --- diff --git a/src/extension/internal/cairo-renderer.cpp b/src/extension/internal/cairo-renderer.cpp index 6e4bb3b7e..ebdb82a69 100644 --- a/src/extension/internal/cairo-renderer.cpp +++ b/src/extension/internal/cairo-renderer.cpp @@ -608,8 +608,8 @@ CairoRenderer::setupDocument(CairoRenderContext *ctx, SPDocument *doc, bool page NRRect d; if (pageBoundingBox) { d.x0 = d.y0 = 0; - d.x1 = ceil(sp_document_width(doc)); - d.y1 = ceil(sp_document_height(doc)); + d.x1 = sp_document_width(doc); + d.y1 = sp_document_height(doc); } else { sp_item_invoke_bbox(base, &d, sp_item_i2d_affine(base), TRUE, SPItem::RENDERING_BBOX); }