<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Regression in pdfunite"
href="https://bugs.freedesktop.org/show_bug.cgi?id=58569">58569</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Regression in pdfunite
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ajohnson@redneon.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>utils
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr></table>
<p>
<div>
<pre>Testing with this pdf:
<a href="http://dl.rom1v.com/misc/sequences_zigomar.pdf">http://dl.rom1v.com/misc/sequences_zigomar.pdf</a>
from <a href="https://bugzilla.gnome.org/show_bug.cgi?id=600357">https://bugzilla.gnome.org/show_bug.cgi?id=600357</a>
Using master, I executed the following commands:
pdfseparate -f 1 -l 2 sequences_zigomar.pdf page-%d.pdf
pdfunite page-1.pdf page-2.pdf combined.pdf
When opening combined.pdf in acroread, the second page is rendered blank.
Poppler will render the second page but prints a lot of errors eg
Syntax Error: Couldn't find trailer dictionary
Syntax Error: Invalid XRef entry
Syntax Error: font resource is not a dictionary
Syntax Error: Invalid XRef entry
Syntax Error (45383): Bad 'Length' attribute in stream
Syntax Error: Unknown font tag 'R20'
Syntax Error (54240): No font in show
The individual pages (page-1.pdf and page-2.pdf) render correctly in acroread
and poppler without errors.
Running the same commands using 0.18.4 works fine. I git bisected and the
offending commit is:
commit c470a3929c0a02b8a543fcada22138ab1fc18176
Author: Thomas Freitag <<a href="mailto:Thomas.Freitag@alfa.de">Thomas.Freitag@alfa.de</a>>
Date: Mon Sep 17 23:13:48 2012 +0200
Support encrypted pdf files in pdfseparate
I tested again after reverting c470a392 on master and it works fine.</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>