From 5726aff3cd2b5a2f84200d75ff8b875f8827c6c5 Mon Sep 17 00:00:00 2001 From: Thomas Freitag Date: Mon, 10 Jul 2023 09:08:01 +0000 Subject: GWG 19.2 - DeviceN Overprint (White): --- poppler/SplashOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poppler/SplashOutputDev.cc') diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc index 8c3fe5ac..2bff1310 100644 --- a/poppler/SplashOutputDev.cc +++ b/poppler/SplashOutputDev.cc @@ -1704,7 +1704,7 @@ void SplashOutputDev::setOverprintMask(GfxColorSpace *colorSpace, bool overprint mask &= ~8; } } - if (grayIndexed) { + if (grayIndexed && colorSpace->getMode() != csDeviceN) { mask &= ~7; } else if (colorSpace->getMode() == csSeparation) { GfxSeparationColorSpace *deviceSep = (GfxSeparationColorSpace *)colorSpace; -- cgit v1.2.3