diff options
Diffstat (limited to 'Resource/Init/pdf_main.ps')
-rw-r--r-- | Resource/Init/pdf_main.ps | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Resource/Init/pdf_main.ps b/Resource/Init/pdf_main.ps index 4c8ecfbbd..90fbaf83a 100644 --- a/Resource/Init/pdf_main.ps +++ b/Resource/Init/pdf_main.ps @@ -966,6 +966,11 @@ currentdict /PDFSwitches undef 1 index exch get (r) file runpdf_collection_entry } for pop + % We need to do this, even though we called pdfclose above, in order to clean + % up our dictionary and restore the state. We can't use runpdfend above because + % if we do then we will delete all the temporary files containing the embedded + % PDF files. + runpdfend } { process_trailer_attrs % - process_trailer_attrs - |