diff options
author | Ken Sharp <ken.sharp@artifex.com> | 2022-03-09 16:25:45 +0000 |
---|---|---|
committer | Ken Sharp <ken.sharp@artifex.com> | 2022-03-09 17:17:28 +0000 |
commit | ac860ae1fce242b3c38673854c7493dc701d7072 (patch) | |
tree | 48a2db80bccd3f743d90d5216add54de6ea4c2e9 /Resource | |
parent | dbe43d5734e79454ea8b21ad4662a110bf8a8c01 (diff) | |
download | ghostpdl-ac860ae1fce242b3c38673854c7493dc701d7072.tar.gz |
Fix 'knownoget' for pdfi with Ghostscript
As per commit 958c044dbbf140b893874c6d634ac71400ea5a12 but this time for
the definition of knownoget.
In fact, given the way pdf2dsc uses this, it doesn't actually cause a
problem, but leaving junk on the stack is bad practice, so let's fix it.
Diffstat (limited to 'Resource')
-rw-r--r-- | Resource/Init/pdf_main.ps | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Resource/Init/pdf_main.ps b/Resource/Init/pdf_main.ps index 895b001f7..3259c0fe3 100644 --- a/Resource/Init/pdf_main.ps +++ b/Resource/Init/pdf_main.ps @@ -1007,7 +1007,7 @@ systemdict /NEWPDF known not {/NEWPDF //true def} if % These are also for the benefit of pdf2dsc, which assumes they % are available. - /knownoget {2 copy known {get //true}{pop //false}ifelse} bind def + /knownoget {2 copy known {get //true}{pop pop //false}ifelse} bind def /pget {2 copy known {get //true}{pop pop //false}ifelse}bind def newpdf_gather_parameters |