Bug 28678 - Poppler has issues with very wide PDFs
Summary: Poppler has issues with very wide PDFs
Status: RESOLVED WORKSFORME
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-22 21:25 UTC by Luke Hutchison
Modified: 2014-05-23 17:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
The problematic PDF (288.50 KB, application/pdf)
2010-06-22 21:25 UTC, Luke Hutchison
Details

Description Luke Hutchison 2010-06-22 21:25:28 UTC
Created attachment 36430 [details]
The problematic PDF

The attached PDF file is really wide (it was generated as SVG by graphviz then exported to PDF by Inkscape).  In Poppler, a narrow-width page is displayed at the far left and another one at the far right, with everything else in between having a gray background.  The lines in the graph stop being drawn about half way across.  It looks like a problem with integer overflow or something.

Acrobat Reader gets the page correct but doesn't draw any lines at all.  You can see the correct positions of the text labels though by trying to select text on the page.
Comment 1 Luke Hutchison 2010-06-22 21:26:36 UTC
I probably should have said this is poppler in evince.  

poppler-0.12.4-2.fc14.x86_64
evince-2.30.1-2.fc14.x86_64
AdobeReader_enu-9.1.2-1.i486
inkscape-0.48-0.2.20100318bzr.fc14.x86_64
graphviz-2.26.0-2.fc13.x86_64
Comment 2 Albert Astals Cid 2010-07-14 12:53:23 UTC
I'd say this is not a poppler problem, if you use pdftoppm -png to create a png file and then open the png (warning is going to need loooooooots of memory) you'll see the png is correctly rendered, so this is probably a bug either in evince or in gtk itself, i'd say that evince should try to never render something that is so huge that it's going to kill gtk or something.

As said i'd say poppler is the least responsible here.
Comment 3 Michał Grzybowski 2014-05-23 17:43:06 UTC
Works for me in evince with poppler 0.24.5


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.