summaryrefslogtreecommitdiff
path: root/source/fitz/stext-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/stext-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/stext-device.c')
-rw-r--r--source/fitz/stext-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/stext-device.c b/source/fitz/stext-device.c
index 03369940..b2bd7a8f 100644
--- a/source/fitz/stext-device.c
+++ b/source/fitz/stext-device.c
@@ -603,7 +603,7 @@ fz_new_image_from_shade(fz_context *ctx, fz_shade *shade, fz_matrix *in_out_ctm,
fz_fill_pixmap_with_color(ctx, pix, shade->colorspace, shade->background, color_params);
else
fz_clear_pixmap(ctx, pix);
- fz_paint_shade(ctx, shade, &ctm, pix, NULL, color_params, &bbox, NULL);
+ fz_paint_shade(ctx, shade, &ctm, pix, color_params, &bbox, NULL);
img = fz_new_image_from_pixmap(ctx, pix, NULL);
}
fz_always(ctx)