Bug 20514 - document not rendering correctly, blue patterns appear
Summary: document not rendering correctly, blue patterns appear
Status: RESOLVED DUPLICATE of bug 16906
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-06 11:50 UTC by Pedro Villavicencio
Modified: 2010-01-27 10:04 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.