From 5c276e31cb6d65b6f2c24624c63749aa412a0bce Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Thu, 13 Sep 2018 19:23:18 +0800 Subject: Bug 699750: Check for overprinting correctly. --- source/fitz/draw-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/fitz/draw-device.c') diff --git a/source/fitz/draw-device.c b/source/fitz/draw-device.c index 1bfb9577..92c9e5cd 100644 --- a/source/fitz/draw-device.c +++ b/source/fitz/draw-device.c @@ -1486,7 +1486,7 @@ fz_draw_fill_shade(fz_context *ctx, fz_device *devp, fz_shade *shade, fz_matrix eop = resolve_color(ctx, &op, shade->background, colorspace, alpha, cp, colorbv, state->dest); n = dest->n; - if (eop) + if (fz_overprint_required(eop)) { for (y = scissor.y0; y < scissor.y1; y++) { -- cgit v1.2.3