Bug 90697

Summary: Figures in PDF incorrectly rendered.
Product: poppler Reporter: Mark van Rossum <mvanross>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Initialize gamut mapping multipliers in ::copy() functions

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.