[Poppler-bugs] [Bug 58966] "Syntax Error (202): Command token too long"
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jan 2 21:17:37 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=58966
--- Comment #1 from Adrian Johnson <ajohnson at redneon.com> ---
(In reply to comment #0)
> I've attached a file that generates the error. To recreate, simply run:
>
> `pdftotex stimulus_category_influence_on_ratings_videos_emoman.pdf`
I assume you mean 'pdftotext'. I can reproduce the error with pdftotext,
pdftoppm, and pdftocairo. Ghostscript and acroread open the file without errors
or warnings.
I had a look at where the error is coming from and it turns out it is in the
check for linearized files in Linearization::Linearization. This function
checks if the first object in the file after the header is a Linearization
dictionary. The problem is this function has disabled the 'allow streams' flag.
As a result when opening a PDF file where the first object is a stream results
in the error due to trying to parse the stream as if it were not a stream.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20130103/f5e629f2/attachment.html>
More information about the Poppler-bugs
mailing list