[poppler] poppler/SplashOutputDev.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Wed Feb 17 22:06:06 UTC 2016


 poppler/SplashOutputDev.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 448169bd96137e2bf0145783012276220bb0c51a
Author: Thomas Freitag <Thomas.Freitag at alfa.de>
Date:   Wed Feb 17 23:02:53 2016 +0100

    Fall back to Gfx implementation of tiling pattern if repetition rate is small
    
    Bug #90596

diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc
index 7ddf6e0..7b11279 100644
--- a/poppler/SplashOutputDev.cc
+++ b/poppler/SplashOutputDev.cc
@@ -4516,7 +4516,7 @@ GBool SplashOutputDev::tilingPatternFill(GfxState *state, Gfx *gfxA, Catalog *ca
   matc[2] = ctm[2];
   matc[3] = ctm[3];
 
-  if (surface_width == 0 || surface_height == 0) {
+  if (surface_width == 0 || surface_height == 0 || repeatX * repeatY <= 4) {
     state->setCTM(savedCTM[0], savedCTM[1], savedCTM[2], savedCTM[3], savedCTM[4], savedCTM[5]);
     return gFalse;
   }


More information about the poppler mailing list