From 834caa1ae801f38aa200ca9c1626566133d7c30d Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Thu, 18 Aug 2011 17:44:35 +0930 Subject: [PATCH] cairo: set mime data for soft masked images --- poppler/CairoOutputDev.cc | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/poppler/CairoOutputDev.cc b/poppler/CairoOutputDev.cc index bdb6b3b..bdbb3c1 100644 --- a/poppler/CairoOutputDev.cc +++ b/poppler/CairoOutputDev.cc @@ -2346,6 +2346,9 @@ void CairoOutputDev::drawSoftMaskedImage(GfxState *state, Object *ref, Stream *s filter = getFilterForSurface (image, interpolate); cairo_surface_mark_dirty (image); + + setMimeData(str, ref, image); + pattern = cairo_pattern_create_for_surface (image); cairo_surface_destroy (image); if (cairo_pattern_status (pattern)) -- 1.7.4.1