summaryrefslogtreecommitdiff
path: root/source/fitz/svg-device.c
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2017-08-01 14:39:01 -0700
committerRobin Watts <robin.watts@artifex.com>2017-10-24 15:16:35 +0100
commit3e6e2464b32ca6d9fdc9cfc8c80c33aace8ec5e0 (patch)
treeeba25a1e75096af817e6d219afb16a1b0808ee69 /source/fitz/svg-device.c
parent5ca92b5a7166cb0304f9d30d0989b5379c7fa532 (diff)
downloadmupdf-3e6e2464b32ca6d9fdc9cfc8c80c33aace8ec5e0.tar.xz
Only do proof conversion in final pop.
The proof conversion should only be done after we have done all our drawing in the separations group. Fixes issue in page 7 of Altona test.
Diffstat (limited to 'source/fitz/svg-device.c')
-rw-r--r--source/fitz/svg-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/svg-device.c b/source/fitz/svg-device.c
index d7b144ed..3860b5c5 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, NULL);
+ fz_paint_shade(ctx, shade, ctm, pix, 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, "<g opacity=\"%g\">\n", alpha);