Opened 14 years ago
Last modified 13 years ago
#26264 closed defect
pdf display in `gv' not operational: error /undefined in copy_trailer_attrs — at Initial Version
Reported by: | veedeehjay@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | "Ryan Schmidt" <ryandesign@…> | |
Port: | ghostscript, gv |
Description
`gv' does not display pdf-files but throws an error. the bug is principally known.
the bug is in file:
/opt/local/share/ghostscript/8.71/lib/pdf2dsc.ps.
here's the diff of the patch solving the problem:
@@ -116,7 +116,7 @@ systemdict /.setsafe known { .setsafe }
DSCfile PDFname write==only
( \(r\) file { DELAYSAFER { .setsafe } if } stopped pop\n) puts
( pdfopen begin\n) puts
- ( copy_trailer_attrs\n) puts
+ ( process_trailer_attrs\n) puts
(%%EndSetup\n) puts
/.hasPageLabels false def % see "Page Labels" in the PDF reference
Note: See
TracTickets for help on using
tickets.