Comment 6 for bug 335397

Revision history for this message
In , Till Kamppeter (till-kamppeter) wrote :

Created an attachment (id=23437)
PDF file from which pdftops produces broken PostScript

The PostScript which comes out when converting the attached PDF file via

pdftops afdruk.pdf

is broken. Ghostscript 8.64 gives the following error:

till@till-laptop:~/ghostscript/gpl/testfiles$ gs afdruk.ps
GPL Ghostscript 8.64 (2009-02-03)
Copyright (C) 2009 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Error: /syntaxerror in -file-
Operand stack:
   --nostringval-- --nostringval-- --nostringval-- 19
Execution stack:
   %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3 %oparray_pop 1739 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push
Dictionary stack:
   --dict:1147/1684(ro)(G)-- --dict:0/20(G)-- --dict:70/200(L)-- --dict:87/150(L)--
Current allocation mode is local
Current file position is 257319
GPL Ghostscript 8.64: Unrecoverable error, exit code 1
till@till-laptop:~/ghostscript/gpl/testfiles$

till@till-laptop:~/ghostscript/gpl/testfiles$ pdftops --version
Error: Couldn't open file '--version'
till@till-laptop:~/ghostscript/gpl/testfiles$ pdftops -version
Error: Couldn't open file '-version'

Version of pdftops:

till@till-laptop:~/ghostscript/gpl/testfiles$ pdftops
pdftops version 0.10.3
Copyright 2005-2009 The Poppler Developers - http://poppler.freedesktop.org
Copyright 1996-2004 Glyph & Cog, LLC
Usage: pdftops [options] <PDF-file> [<PS-file>]
...
till@till-laptop:~/ghostscript/gpl/testfiles$

Problem was observed on Ubuntu Intrepid and Jaunty. Original bug report:

https://bugs.edge.launchpad.net/ubuntu/+source/poppler/+bug/335397