summaryrefslogtreecommitdiffstats
path: root/src/sp-pattern.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-11-19 23:55:51 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-11-19 23:55:51 +0000
commit8a2a99d1e666ddd246c682b720a485ff0d4f663a (patch)
tree70dfb9e29a1bdf16800b28824b4ae34a56539c6d /src/sp-pattern.cpp
parentUpdate to trunk (diff)
parentBalloonSymbols.svg rewritten. Balloon symbols should render properly in all b... (diff)
downloadinkscape-8a2a99d1e666ddd246c682b720a485ff0d4f663a.tar.gz
inkscape-8a2a99d1e666ddd246c682b720a485ff0d4f663a.zip
Update to trunk
(bzr r11950.1.202)
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]);