[poppler] poppler/CairoOutputDev.cc
Adrian Johnson
ajohnson at kemper.freedesktop.org
Mon Oct 20 01:32:47 PDT 2014
poppler/CairoOutputDev.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e0179304cdef615fcf639046410d214fd5b5f276
Author: Adrian Johnson <ajohnson at redneon.com>
Date: Sun Oct 19 21:36:39 2014 +1030
cairo: fix crash when no group color space
Bug 85137
diff --git a/poppler/CairoOutputDev.cc b/poppler/CairoOutputDev.cc
index 3babb63..03130ac 100644
--- a/poppler/CairoOutputDev.cc
+++ b/poppler/CairoOutputDev.cc
@@ -1624,7 +1624,7 @@ void CairoOutputDev::setSoftMask(GfxState * state, double * bbox, GBool alpha,
cairo_t *maskCtx = cairo_create(source);
//XXX: hopefully this uses the correct color space */
- if (!alpha) {
+ if (!alpha && groupColorSpaceStack->cs) {
GfxRGB backdropColorRGB;
groupColorSpaceStack->cs->getRGB(backdropColor, &backdropColorRGB);
/* paint the backdrop */
More information about the poppler
mailing list