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-affine.c | |
parent | c7f89b2484ef1448670dd862e417d395131da7f8 (diff) | |
download | mupdf-5c276e31cb6d65b6f2c24624c63749aa412a0bce.tar.xz |
Bug 699750: Check for overprinting correctly.
Diffstat (limited to 'source/fitz/draw-affine.c')
-rw-r--r-- | source/fitz/draw-affine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/draw-affine.c b/source/fitz/draw-affine.c index 14383612..dc64c481 100644 --- a/source/fitz/draw-affine.c +++ b/source/fitz/draw-affine.c @@ -3991,7 +3991,7 @@ fz_paint_image_imp(fz_pixmap *dst, const fz_irect *scissor, fz_pixmap *shape, fz } #if FZ_PLOTTERS_RGB - if (dn == 3 && img->n == 1 + sa && !color && eop == NULL) + if (dn == 3 && img->n == 1 + sa && !color && !fz_overprint_required(eop)) { if (dolerp) paintfn = fz_paint_affine_g2rgb_lerp(da, sa, fa, fb, dn, alpha); |