[Poppler-bugs] [Bug 82630] New: Documents opened via poppler_document_new_from_stream() do not render correctly
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Aug 14 11:32:57 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=82630
Priority: medium
Bug ID: 82630
Assignee: poppler-bugs at lists.freedesktop.org
Summary: Documents opened via
poppler_document_new_from_stream() do not render
correctly
Severity: normal
Classification: Unclassified
OS: All
Reporter: phillip.berndt at googlemail.com
Hardware: Other
Status: NEW
Version: unspecified
Component: glib frontend
Product: poppler
Created attachment 104631
--> https://bugs.freedesktop.org/attachment.cgi?id=104631&action=edit
Example program
Files loaded through the poppler_document_new_from_stream() call seem not to be
loaded correctly. While I can access all pages from PDFs, rendering fails
halfway through a page, and on stderr I see
Syntax Error (153504): Unexpected end of file in flate stream
Syntax Error: Unterminated string
Syntax Error: End of file inside array
Syntax Error: Leftover args in content stream
If I load the same file into a char array and use
poppler_document_new_from_data(), the file renderes fine.
I'll attach an example program, example PDF file, and screenshots of expected
and actual renderings. I've compiled the example using
cc test.c -o test $(pkg-config --libs --cflags gtk+-3.0 glib-2.0 cairo gio-2.0
poppler-glib)
and tested against a clean build of the latest poppler git (commit e62e18e).
--
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/20140814/c79edab4/attachment.html>
More information about the Poppler-bugs
mailing list