[poppler] poppler/CairoOutputDev.cc
Adrian Johnson
ajohnson at kemper.freedesktop.org
Sun Feb 19 03:10:50 PST 2012
poppler/CairoOutputDev.cc | 1 +
1 file changed, 1 insertion(+)
New commits:
commit aaae8996766f259dcc329755c7cccde7c916c1fb
Author: Adrian Johnson <ajohnson at redneon.com>
Date: Thu Feb 16 22:22:15 2012 +1030
cairo: set mask matrix before drawing an image with a mask
Bug 40828
diff --git a/poppler/CairoOutputDev.cc b/poppler/CairoOutputDev.cc
index 36d58c4..5dc8639 100644
--- a/poppler/CairoOutputDev.cc
+++ b/poppler/CairoOutputDev.cc
@@ -2811,6 +2811,7 @@ void CairoOutputDev::drawImage(GfxState *state, Object *ref, Stream *str,
if (maskPattern) {
if (!printing)
cairo_clip (cairo);
+ cairo_set_matrix (cairo, &mask_matrix);
cairo_mask (cairo, maskPattern);
} else {
if (printing)
More information about the poppler
mailing list