[Poppler-bugs] [Bug 56858] Huge simple PDF displayed blank in poppler-glib-demo

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Nov 11 01:00:10 PST 2012


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

--- Comment #3 from Adrian Johnson <ajohnson at redneon.com> ---
Created attachment 69893
  --> https://bugs.freedesktop.org/attachment.cgi?id=69893&action=edit
Downscale source image before creating a cairo image

Running pdftocairo with a reduced resolution to ensure the output image is not
too large still fails to produce the correct output because the souce image in
the PDF has a height of 161385 which is too large for cairo.

This patch fixes this problem by scaling down source images before creating a
cairo image surface.

Running pdftocairo -png -r 72 Shimshon40.pdf now produces the correct output.

-- 
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/20121111/c77fe279/attachment.html>


More information about the Poppler-bugs mailing list