[poppler] Branch 'poppler-0.24' - poppler/SplashOutputDev.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Tue Aug 20 10:51:49 PDT 2013
poppler/SplashOutputDev.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
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