summaryrefslogtreecommitdiffstats
path: root/src/sp-pattern.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2013-11-19 12:38:19 +0000
committertavmjong-free <tavmjong@free.fr>2013-11-19 12:38:19 +0000
commitd2f932ed15e276fda44e80d5d6139ed42c0f706a (patch)
tree5e10394965df6ef6645c64b2dc187a50446e18cd /src/sp-pattern.cpp
parentAdd GUI for 'image-rendering'. Completes fix for blocker bug #1163449. (diff)
downloadinkscape-d2f932ed15e276fda44e80d5d6139ed42c0f706a.tar.gz
inkscape-d2f932ed15e276fda44e80d5d6139ed42c0f706a.zip
Increased pattern resolution to fix blocker bug #1251039.
(bzr r12824)
Diffstat (limited to 'src/sp-pattern.cpp')
-rw-r--r--src/sp-pattern.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sp-pattern.cpp b/src/sp-pattern.cpp
index 213b57559..ad5449f34 100644
--- a/src/sp-pattern.cpp
+++ b/src/sp-pattern.cpp
@@ -665,7 +665,8 @@ cairo_pattern_t* SPPattern::pattern_new(cairo_t *base_ct, Geom::OptRect const &b
// the scaling component from the complete matrix and use it
// to find the optimum tile size for rendering
// c is number of pixels in buffer x and y.
- Geom::Point c(pattern_tile.dimensions()*vb2ps.descrim()*ps2user.descrim()*full.descrim()*1.1);
+ // Scale factor of 1.1 is too small... see bug #1251039
+ Geom::Point c(pattern_tile.dimensions()*vb2ps.descrim()*ps2user.descrim()*full.descrim()*2.0);
c[Geom::X] = ceil(c[Geom::X]);
c[Geom::Y] = ceil(c[Geom::Y]);