Bug 20514

Summary: document not rendering correctly, blue patterns appear
Product: poppler Reporter: Pedro Villavicencio <pvillavi>
Component: cairo backendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium CC: madbiologist2016
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Pedro Villavicencio 2009-03-06 11:50:14 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/poppler/+bug/338872

"the attached PDF file is displayed incorrectly in evince but correctly in Adobe Reader"

evince screenshot:
http://launchpadlibrarian.net/23556819/evince.png

adobe screenshot:
http://launchpadlibrarian.net/23556823/reader.png

pdf file:
http://launchpadlibrarian.net/23556244/Lecture%206.pdf

Thanks you,
Comment 1 Albert Astals Cid 2009-03-08 06:30:56 UTC
Cairo outputdev problem, works with splash.
Comment 2 Carlos Garcia Campos 2010-01-26 12:01:16 UTC
Same bug than #16906.

*** This bug has been marked as a duplicate of bug 16906 ***
Comment 3 madbiologist 2010-01-26 19:42:21 UTC
It certainly doesn't _look_ like the same bug as #16906.  Has anyone been able to confirm that the fix for that bug fixes this bug?
Comment 4 Carlos Garcia Campos 2010-01-27 00:38:22 UTC
(In reply to comment #3)
> It certainly doesn't _look_ like the same bug as #16906.  Has anyone been able
> to confirm that the fix for that bug fixes this bug?
> 

Yes, it doesn't look like the same issue, but it is. The problem was in drawMaskedImage, when the image and mask don't have the same size we were using the same matrix which is wrong, the mask was scaled incorrectly. See commit:

http://cgit.freedesktop.org/poppler/poppler/commit/?id=0af1ae75fd4c8031343f668bed5d8ca6588ee652

Comment 5 madbiologist 2010-01-27 10:04:54 UTC
Thanks for the clarification.

And thanks for your work on correcting the problem.

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.