summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 626e165)
raw | patch | inline | side by side (parent: 626e165)
author | Johan Engelen <goejendaagh@zonnet.nl> | |
Sat, 10 Apr 2010 12:51:38 +0000 (14:51 +0200) | ||
committer | Johan Engelen <goejendaagh@zonnet.nl> | |
Sat, 10 Apr 2010 12:51:38 +0000 (14:51 +0200) |
src/extension/internal/cairo-renderer.cpp | patch | blob | history |
index 6e4bb3b7e366e8438c235ab21853627eb707c875..ebdb82a69c6cf02ff5c59f8c1349f090de30cb1b 100644 (file)
@@ -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);
}