summaryrefslogtreecommitdiff
path: root/gs/Resource/Init/gs_pdfwr.ps
diff options
context:
space:
mode:
Diffstat (limited to 'gs/Resource/Init/gs_pdfwr.ps')
-rw-r--r--gs/Resource/Init/gs_pdfwr.ps2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/Resource/Init/gs_pdfwr.ps b/gs/Resource/Init/gs_pdfwr.ps
index 94f916be2..dbdfe256e 100644
--- a/gs/Resource/Init/gs_pdfwr.ps
+++ b/gs/Resource/Init/gs_pdfwr.ps
@@ -475,7 +475,7 @@ userdict /.pdfcvstring () put
grestore
} if
dup /PS eq systemdict /PDFX .knownget not { //false } if
- systemdict /PDFA .knownget not { //false } if or and {
+ systemdict /PDFA .knownget not { //false }{pop //true} ifelse or and {
% Execute it since PDF/X doesn't allow to embed it.
pop
{ dup mark eq {