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-affine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/fitz/draw-affine.c') 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); -- cgit v1.2.3