diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2022-08-04 16:55:07 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2022-08-05 12:15:45 +0100 |
commit | c5e89eed9ce970a8083479b44999aaf24c244d42 (patch) | |
tree | dc7de59123edfcb6cef50b9671a5fee6df07bbb6 /Resource | |
parent | fef972f530fc7010de37556f7d62f0c40624e358 (diff) | |
download | ghostpdl-c5e89eed9ce970a8083479b44999aaf24c244d42.tar.gz |
Fix breakage caused by 418295bc6028635222e1d871b73230c761a87242
The page device dictionary doesn't necessarily contain an /Overprint key,
so check it exists before we try to use it.
Diffstat (limited to 'Resource')
-rw-r--r-- | Resource/Init/pdf_draw.ps | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Resource/Init/pdf_draw.ps b/Resource/Init/pdf_draw.ps index 691a8bd6a..117b362cf 100644 --- a/Resource/Init/pdf_draw.ps +++ b/Resource/Init/pdf_draw.ps @@ -1421,7 +1421,7 @@ currentdict end readonly def % untouched as set above. % currentpagedevice dup - /Overprint get /simulate eq + /Overprint .knownget {/simulate eq}{false} ifelse 1 index /PageSpotColors known not and exch /PageUsesOverprint .knownget not { //false } if and |