summaryrefslogtreecommitdiff
path: root/poppler/SplashOutputDev.cc
diff options
context:
space:
mode:
authorThomas Freitag <thomas.freitag.bbr@gmail.com>2023-07-10 09:08:01 +0000
committerAlbert Astals Cid <tsdgeos@yahoo.es>2023-07-10 09:08:01 +0000
commit5726aff3cd2b5a2f84200d75ff8b875f8827c6c5 (patch)
tree3515774b373dc7a01a2727172bcc939520288b23 /poppler/SplashOutputDev.cc
parentee2af17e916e6310ab25b92a638df380b18a24ee (diff)
GWG 19.2 - DeviceN Overprint (White):
Diffstat (limited to 'poppler/SplashOutputDev.cc')
-rw-r--r--poppler/SplashOutputDev.cc2
1 files changed, 1 insertions, 1 deletions
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;