diff options
-rw-r--r-- | Resource/Init/pdf_main.ps | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Resource/Init/pdf_main.ps b/Resource/Init/pdf_main.ps index f1dbb0a74..5005b52e6 100644 --- a/Resource/Init/pdf_main.ps +++ b/Resource/Init/pdf_main.ps | |||
@@ -2639,10 +2639,9 @@ currentdict /PDF2PS_matrix_key undef | |||
2639 | % (eg GSView 5) then it will not be present, so we must rescan. | 2639 | % (eg GSView 5) then it will not be present, so we must rescan. |
2640 | currentpagedevice /PageUsesTransparency .knownget not {dup pageusestransparency} if | 2640 | currentpagedevice /PageUsesTransparency .knownget not {dup pageusestransparency} if |
2641 | dup /PDFusingtransparency exch def { | 2641 | dup /PDFusingtransparency exch def { |
2642 | % If the current device isn't ProcessColorModel /DeviceCMYK, or if it is a | 2642 | % If the current device isn't CMYK, or if it is a HighLevelDevice (pdfwrite) we |
2643 | % HighLevelDevice (pdfwrite) we don't need the special handling of Overprint | 2643 | % don't need the special handling of Overprint transparency, so disable the checking. |
2644 | % transparency, so disable the checking. | 2644 | currentpagedevice dup /Colors get 4 lt exch /HighLevelDevice known or { |
2645 | currentpagedevice dup /ProcessColorModel get /DeviceCMYK ne exch /HighLevelDevice known or { | ||
2646 | /checkOPtrans { pop false } def % NB: original will be restored from PDFsave | 2645 | /checkOPtrans { pop false } def % NB: original will be restored from PDFsave |
2647 | } if | 2646 | } if |
2648 | % Show the page within a PDF 1.4 device filter. | 2647 | % Show the page within a PDF 1.4 device filter. |