poppler/poppler-0.18.4-set-mask-matrix.patch
2012-05-04 13:55:30 +02:00

11 lines
437 B
Diff

--- poppler-0.18.4/poppler/CairoOutputDev.cc 2012-02-15 18:06:48.000000000 +0100
+++ poppler-0.18.4/poppler/CairoOutputDev.cc 2012-05-04 13:04:57.000000000 +0200
@@ -2789,6 +2789,7 @@ void CairoOutputDev::drawImage(GfxState
cairo_rectangle (cairo, 0., 0., 1., 1.);
if (maskPattern) {
cairo_clip (cairo);
+ cairo_set_matrix (cairo, &mask_matrix);
cairo_mask (cairo, maskPattern);
} else {
cairo_fill (cairo);