[Poppler-bugs] [Bug 85919] wrong render result
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Dec 22 00:27:10 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=85919
--- Comment #12 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
I'm not sure if it is a good idea to search for the last startxref in a PDF
without at least a warning that it wasn't found at the end of the PDF, it could
break the recovery algorithm:
According to the spec the startxref entry should be at the end of a PDF file:
% Offset of first-page cross-reference table (part 3)
startxref
257
%% EOF
And there could be several startxref entries in a PDF file: in case of an
incremental update new PDF objects and the new xref table and the new pointer
to the xref table are just appended. So if You don't find the startxref at the
end of the file there is a good chance that the PDF file is broken and should
be recovered!
--
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/20141222/d5b00656/attachment.html>
More information about the Poppler-bugs
mailing list