[cups.bugs] [HIGH] STR #2138: pdftops creates invalid PS from particular PDF

twaugh.redhat twaugh at redhat.com
Fri Dec 8 10:14:10 PST 2006


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

When trying to print this PDF:

  http://www.cl.cam.ac.uk/research/srg/netos/papers/2003-xensosp.pdf

the CUPS pdftops filter creates PS that ESP Ghostscript fails to process:

$ /usr/lib/cups/filter/pdftops 1 me '' 1 '' <2003-xensosp.pdf >job.ps
DEBUG: pdftops - copying to temp print file "/tmp/45770775eb76a"
DEBUG: pdftops - level = 2, width = 595, length = 792
]$ gs -dBATCH -dNOPAUSE job.psESP Ghostscript 815.03 (2006-08-25)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Substituting espgsMissingChar for space in the font
XNDNJD+TimesNewRoman-NormalItalic
ERROR: /undefined in --get--
Operand stack:
   (Request Consumer)   47.4078   --dict:14/17(ro)(L)--   32   space  
--dict:16/16(ro)(L)--   space
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--  
--nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3
 
%oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2  
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push  
--nostringval--   --nostringval--   %finish_stringwidth   --nostringval-- 

--nostringval--   7   8   2   --nostringval--   (gs_show_enum)  
%op_show_continue   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1117/1686(ro)(G)--   --dict:0/20(G)--   --dict:103/200(L)--  
--dict:63/75(L)--   --dict:18/24(L)--   --dict:0/15(L)--  
--dict:5/15(L)--  
--dict:2/15(L)--   --dict:14/17(ro)(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 648608
ESP Ghostscript 815.03: Unrecoverable error, exit code 1

As a datapoint, using 'gs -sDEVICE=pswrite' yields a PS output file that
can be displayed but the writing around the pie chart is garbled.

Link: http://www.cups.org/str.php?L2138
Version: 1.2.6





More information about the cups mailing list