[Poppler-bugs] [Bug 82630] Documents opened via poppler_document_new_from_stream() do not render correctly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 15 02:54:47 PDT 2014


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

--- Comment #5 from Phillip Berndt <phillip.berndt at googlemail.com> ---
I did some debugging and believe that the error lies in PopplerInputStream. I
don't understand how you use sub streams and copies yet though, therefore I
haven't been able to fix it.

What I've found: At the top of PopplerInputStream::fillBuf(), I added some
lines to check if bufPos coincides with the output of g_seekable_tell. When
loading fails, it does not.

Another thing is that this seems to be a race condition: When I add
sufficiently much debug output or blur/refocus the window to enforce a redraw,
the output is rendered correctly.

-- 
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/20140815/a7ec773e/attachment.html>


More information about the Poppler-bugs mailing list