From 5ca92b5a7166cb0304f9d30d0989b5379c7fa532 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Wed, 2 Aug 2017 12:11:03 +0100 Subject: Fix overprint with shadings. --- source/fitz/svg-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/fitz/svg-device.c') diff --git a/source/fitz/svg-device.c b/source/fitz/svg-device.c index 7098e0a0..d7b144ed 100644 --- a/source/fitz/svg-device.c +++ b/source/fitz/svg-device.c @@ -921,7 +921,7 @@ svg_dev_fill_shade(fz_context *ctx, fz_device *dev, fz_shade *shade, const fz_ma fz_try(ctx) { - fz_paint_shade(ctx, shade, ctm, pix, NULL, color_params, &bbox); + fz_paint_shade(ctx, shade, ctm, pix, NULL, color_params, &bbox, NULL); buf = fz_new_buffer_from_pixmap_as_png(ctx, pix, color_params); if (alpha != 1.0f) fz_write_printf(ctx, out, "\n", alpha); -- cgit v1.2.3