[Poppler-bugs] [Bug 92508] PDF not displayed except 1st page

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 15 14:37:36 UTC 2016


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

Thomas Freitag <Thomas.Freitag at alfa.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|87637                       |

--- Comment #6 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
(In reply to Albert Astals Cid from comment #5)
> That patch seems to regress the opening of file at
> https://bugs.freedesktop.org/attachment.cgi?id=27949

Hmmh, yes, this PDF is broken: it references an AcroForm with num 1:
.../AcroForm 1 0 R ...
which the PDF doesn't contain. But this is not visible when rendering the PDF,
so nobody complains.
But we can't call the constructXRef() for this PDF, because the PDF contains an
ObjStm stream, and the poppler reconstruction algorithm doesn't work for PDF
which contains ObjStm streams, the objects inside these streams are missing
after the reconstruction algorithm.
To improve the reconstruction algorithm that it also handles ObjStm streams
would be a bigger task, so I don't want to do that right now. So I decide to
don't call constructXRef() in the case the PDF might contain an ObjStm stream.
Since I can't detect if a PDF contains an ObjStm stream but an ObjStm stream is
only possible if the PDF uses xref streams, I use this pointer.

-- 
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/20160315/befdb0f3/attachment.html>


More information about the Poppler-bugs mailing list