[MacPorts] #26264: pdf display in `gv' not operational: error /undefined in copy_trailer_attrs

MacPorts noreply at macports.org
Fri Aug 27 13:32:29 PDT 2010


#26264: pdf display in `gv' not operational: error /undefined in copy_trailer_attrs
---------------------------------------+------------------------------------
 Reporter:  veedeehjay@…               |       Owner:  macports-tickets@…                   
     Type:  defect                     |      Status:  new                                  
 Priority:  Normal                     |   Milestone:                                       
Component:  ports                      |     Version:  1.9.1                                
 Keywords:                             |        Port:  gv @3.7.1 (print)                    
---------------------------------------+------------------------------------
 `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

-- 
Ticket URL: <http://trac.macports.org/ticket/26264>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list