[Poppler-bugs] [Bug 87637] pdfseparate+pdftoppm renders different than original file

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 6 06:11:54 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=87637

--- Comment #3 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
Created attachment 111850
  --> https://bugs.freedesktop.org/attachment.cgi?id=111850&action=edit
use copy of xref in savePageAs so that it can be safely modified

The problem was the removing of page annotations which were not referenced by
the separated page. This modified the xref of the document. So during the
separation of page 1 the page annotations of page 3 were removed and were
therefore no more available when page 3 was separated. You can see that when
You use i.e. pdfseparate -f 3 -l 3 with the said PDF. In this case the
separated PDF of page 3 is okay.

To solve this problem the xref of the document in this patch first will copied
and so now can be safely modified, and after the work is done the xref will be
restored.

-- 
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/20150106/799fe73d/attachment.html>


More information about the Poppler-bugs mailing list