[Poppler-bugs] [Bug 95061] PDF hint table fails to load if PDFDoc is opened with stream start offset != 0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 26 10:21:30 UTC 2016


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

--- Comment #3 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
I'm a little bit confused about it: 
1. If I parse the PDF of comment 2 i.e. with /utils/pdftoppm -png -f 1 -l 1
-cropbox I don't get any error messages.
2. The main stream of a PDF always starts with offset 0
3. The PDF spec says about the H entry in the "Linearization Parameter
Dictionary": offset1 shall be the offset of the primary hint stream from the
beginning(!!!) of the file.
4. All offsets in poppler, i.e. also the xref offets, are offsets from the
beginning of a file and never add some hypothetical offet of substreams

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160426/c820a594/attachment.html>


More information about the Poppler-bugs mailing list