<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - "Syntax Error (202): Command token too long""
href="https://bugs.freedesktop.org/show_bug.cgi?id=58966#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - "Syntax Error (202): Command token too long""
href="https://bugs.freedesktop.org/show_bug.cgi?id=58966">bug 58966</a>
from <span class="vcard"><a class="email" href="mailto:ajohnson@redneon.com" title="Adrian Johnson <ajohnson@redneon.com>"> <span class="fn">Adrian Johnson</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=58966#c0">comment #0</a>)
<span class="quote">> I've attached a file that generates the error. To recreate, simply run:
>
> `pdftotex stimulus_category_influence_on_ratings_videos_emoman.pdf`</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>