diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2018-09-13 19:23:18 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2018-09-13 19:24:11 +0800 |
commit | 5c276e31cb6d65b6f2c24624c63749aa412a0bce (patch) | |
tree | f0b6275ce87c6eb5943c014594a5a04cdfdbabd1 /source/fitz/draw-device.c | |
parent | c7f89b2484ef1448670dd862e417d395131da7f8 (diff) | |
download | mupdf-5c276e31cb6d65b6f2c24624c63749aa412a0bce.tar.xz |
Bug 699750: Check for overprinting correctly.
Diffstat (limited to 'source/fitz/draw-device.c')
-rw-r--r-- | source/fitz/draw-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++) { |