Commit 961adf0b authored by Adrian Johnson's avatar Adrian Johnson Committed by Carlos Garcia Campos

cairo: set mime data for soft masked images

Fixes bug #40192.
parent 86271e48
......@@ -2313,6 +2313,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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment