[gs-bugs] [Bug 692252] GS fails to read some PDF files

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Tue Jun 7 20:48:11 UTC 2011


--- Comment #15 from James Cloos <cloos at jhcloos.com> 2011-06-07 20:48:11 UTC ---
My current favourite app for uncompressing pdfs is qpdf from
<http://qpdf.sourceforge.net/>.  (Run with its --qdf flag.)

I then used the standard unix tools grep(1), tr(1) and less(1) to find the inf.
(The stream is a single *very* long line, so I used » tr ' ' '\n' « to convert
the spaces to newlines so that each token would be on its own line, making it
easier to read in less(1).  A text editor would work just as well for that.

pdftk <http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/> and podofo
<http://podofo.sourceforge.net> can also uncompress a pdf file.

Mupdf has pdfshow(1) which can extract and uncompress a specified object.

After uncompressing, given that the error was »Unknown operator: 'inf'«,
it is just a matter of searching for the string inf.  Looking at the other q..Q
sections near the one with inf makes it clear – even if you do not know what
the Td operator does – that it should have been a number.

Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the gs-bugs mailing list