Customer reports an error /undefined in obj when running the attached PDF
document. I have confirmed with HEAD on linux.
Created attachment 2142 [details]
problem PDF file
attaching problem file
This PDF file has garbage at the front that prevents it from being
recognized as PDF:
These _are_ valid PostScript comments which causes the remainder of the file to
be processed as PostScript. When the following sequence:
5 0 obj
is processed as PostScript, the first two lines are comments, then the 5 and
0 are pushed on the operand stack, but the 'obj' is not a valid PostScript
operator, so causes an 'undefined' error.
This tool should have an option to save a valid PDF (without prefix garbage).
Section 3.4 of the PDF specification describes the valid file structure.
When I remove the first 71 bytes (the first three lines) this file displays
properly with Ghostscript.
*** This bug has been marked as a duplicate of 687125 ***
Changing customer bugs that have been resolved more than a year ago to closed.