Bug 90697 - Figures in PDF incorrectly rendered.
Summary: Figures in PDF incorrectly rendered.
Status: RESOLVED FIXED
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: 2015-05-28 09:58 UTC by Mark van Rossum
Modified: 2016-03-15 23:59 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Initialize gamut mapping multipliers in ::copy() functions (659 bytes, patch)
2016-03-15 10:33 UTC, Thomas Freitag
Details | Splinter Review

Description Mark van Rossum 2015-05-28 09:58:25 UTC
I'm using either okular or evince to render the following PDF:

http://www.physio.unibe.ch/~senn/group/publications/ftp/paper_Synalgo.pdf

Figures 3,4,5,6 (pages 9, 10 and 11) are incorrectly rendered.

Big black boxes show up surrounded the figures.

GV and acroread display the file correctly.
Comment 1 Mark van Rossum 2015-05-28 12:43:32 UTC
bit more info:

I tried pdftoppm with both poppler 0.30 and poppler-0.33.0 (compiled from source).
Both gave same problem.
Comment 2 Thomas Freitag 2016-03-15 10:33:57 UTC
Created attachment 122314 [details] [review]
Initialize gamut mapping multipliers in ::copy() functions

This patch fixes it:

The gamut mapping multipliers were not copied in GfxCalGrayColorSpace::copy() (and in GfxCalRGBColorSpace::copy(), too), which causes here the usage of uninitialized memory.
Comment 3 Mark van Rossum 2016-03-15 10:37:22 UTC
Great!
Many thanks.
Comment 4 Albert Astals Cid 2016-03-15 23:59:08 UTC
Commited, awesome work as always Thomas.


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.