Opened 14 years ago
Last modified 13 years ago
#26264 closed defect
gv: pdf display not operational: error /undefined in copy_trailer_attrs — at Version 1
Reported by: | veedeehjay@… | Owned by: | takanori@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | ryandesign@… | |
Port: | ghostscript, gv |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
`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 @@ 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
Change History (1)
comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added; "Ryan Schmidt" <ryandesign@…> removed |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to takanori@… |
Port: | ghostscript added; @3.7.1 (print) removed |
Summary: | pdf display in `gv' not operational: error /undefined in copy_trailer_attrs → gv: pdf display not operational: error /undefined in copy_trailer_attrs |
Note: See
TracTickets for help on using
tickets.
The file /opt/local/share/ghostscript/8.71/lib/pdf2dsc.ps is part of the port ghostscript, not part of the port gv.
What do you mean "the bug is principally known"? Known by whom? Is there an upstream bug report? If so where? Where did this patch come from? Is this an upstream fix? If you invented this patch yourself, have you already reported it to the developers of ghostscript?