poppler/CairoOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 100488ec7db2d1f3e25bfda42c1603ca86696195 Author: Adrian Johnson <[email protected]> Date: Sun Jan 15 23:52:28 2012 +1030 cairo: restore temporary clip used in CairoOutputDev::fill when painting a mask The clip is only used to clip the paint to the fill path so it should be moved inside the save/restore. diff --git a/poppler/CairoOutputDev.cc b/poppler/CairoOutputDev.cc index e2ecfda..db7e654 100644 --- a/poppler/CairoOutputDev.cc +++ b/poppler/CairoOutputDev.cc @@ -729,8 +729,8 @@ void CairoOutputDev::fill(GfxState *state) { LOG(printf ("fill\n")); //XXX: how do we get the path if (mask) { - cairo_clip (cairo); cairo_save (cairo); + cairo_clip (cairo); cairo_set_matrix (cairo, &mask_matrix); cairo_mask (cairo, mask); cairo_restore (cairo); _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
