[poppler] 2 commits - poppler/SplashOutputDev.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Tue Aug 20 10:53:25 PDT 2013


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

New commits:
commit c2453fc1307ebb222747f976e1311ecc5e99abfa
Merge: 3bb8c2e 70298a0
Author: Albert Astals Cid <aacid at kde.org>
Date:   Tue Aug 20 19:53:17 2013 +0200

    Merge remote-tracking branch 'origin/poppler-0.24'

commit 70298a021657a72ae80389687a86247144e6d6b6
Author: Thomas Freitag <Thomas.Freitag at alfa.de>
Date:   Tue Aug 20 19:46:01 2013 +0200

    Don't copy not needed bitmap
    
    Speeds up rendering of fixes from bug 67105
    As example one file is down from 130s to 6.5s

diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc
index d9ea990..8c69502 100644
--- a/poppler/SplashOutputDev.cc
+++ b/poppler/SplashOutputDev.cc
@@ -3802,7 +3802,7 @@ void SplashOutputDev::beginTransparencyGroup(GfxState *state, double *bbox,
   transpGroup->ty = ty;
   transpGroup->blendingColorSpace = blendingColorSpace;
   transpGroup->isolated = isolated;
-  transpGroup->shape = (knockout) ? SplashBitmap::copy(bitmap) : NULL;
+  transpGroup->shape = (knockout && !isolated) ? SplashBitmap::copy(bitmap) : NULL;
   transpGroup->knockout = gFalse; 
   transpGroup->knockoutOpacity = 1.0;
   transpGroup->next = transpGroupStack;


More information about the poppler mailing list