Bug 20668 - Certain images are not rendered completely.
Summary: Certain images are not rendered completely.
Status: RESOLVED FIXED
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-14 18:53 UTC by Ubiratan Pires Alberton
Modified: 2009-03-20 06:13 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
PDF from first link, seen on Acrobat Reader. Look at illustration on bottom left. (163.78 KB, image/jpeg)
2009-03-15 09:51 UTC, Ubiratan Pires Alberton
Details
PDF from first link, seen on (142.63 KB, image/jpeg)
2009-03-15 09:51 UTC, Ubiratan Pires Alberton
Details
PDF from first link, seen on Evince. Look at illustration on bottom left. (142.63 KB, image/jpeg)
2009-03-15 09:52 UTC, Ubiratan Pires Alberton
Details
PDF from second link, seen on Acrobat Reader. Note the title. (118.39 KB, image/jpeg)
2009-03-15 09:53 UTC, Ubiratan Pires Alberton
Details
PDF from second link, seen on Evince. Note the title (or lack thereof). (129.23 KB, image/jpeg)
2009-03-15 09:53 UTC, Ubiratan Pires Alberton
Details
fix smask bug (2.22 KB, patch)
2009-03-19 05:14 UTC, Adrian Johnson
Details | Splinter Review
smask scale fix (1.16 KB, patch)
2009-03-20 06:00 UTC, Adrian Johnson
Details | Splinter Review

Description Ubiratan Pires Alberton 2009-03-14 18:53:05 UTC
I'm using poppler 0.10.5 and Evince 2.24.2 on a 64-bit Gentoo Linux system. When I try to view certain PDF files with background images, I notice that these images aren't entirely rendered. Most times, only their top left quadrant is rendered.

The attached PDF has a few sample pages from the one I tried to view. Notice the images near the page numbers, on the bottom of most pages. They are rendered correctly on Acrobat Reader for Linux, as well as on KPDF 3.5.9 with poppler 0.10.5.
Comment 1 Ubiratan Pires Alberton 2009-03-14 19:01:04 UTC
This is a link to the example PDF. It was too large to attach.

http://watermark.drivethrustuff.com/pdf_previews/60553-sample.pdf
Comment 2 Ubiratan Pires Alberton 2009-03-14 19:08:08 UTC
What seems to be another instance of this bug can be found here:

http://pdf.railsmagazine.com/rails-magazine-issue1.pdf

The first page of this PDF renders properly on kpdf 3.5.9/poppler 0.10.5, but the title suffers from the same background image issue on evince 2.24.2/poppler 0.10.5.
Comment 3 Albert Astals Cid 2009-03-15 05:33:28 UTC
Can you please attach a screenshot pointing the differences?
Comment 4 Ubiratan Pires Alberton 2009-03-15 09:51:19 UTC
Created attachment 23873 [details]
PDF from first link, seen on Acrobat Reader. Look at illustration on bottom left.
Comment 5 Ubiratan Pires Alberton 2009-03-15 09:51:43 UTC
Created attachment 23874 [details]
PDF from first link, seen on
Comment 6 Ubiratan Pires Alberton 2009-03-15 09:52:08 UTC
Created attachment 23875 [details]
PDF from first link, seen on Evince. Look at illustration on bottom left.
Comment 7 Ubiratan Pires Alberton 2009-03-15 09:53:02 UTC
Created attachment 23876 [details]
PDF from second link, seen on Acrobat Reader. Note the title.
Comment 8 Ubiratan Pires Alberton 2009-03-15 09:53:39 UTC
Created attachment 23877 [details]
PDF from second link, seen on Evince. Note the title (or lack thereof).
Comment 9 Ubiratan Pires Alberton 2009-03-15 09:54:27 UTC
All done. Please let me know if there is anything else I can do to help.
Comment 10 Albert Astals Cid 2009-03-15 09:58:23 UTC
moving to cairo backend instead of glib frontend, i can't reproduce the first, i can the second, i'd bet they are different things, but i'll leave it to carlos or someone involved with the cairo backend to comment.
Comment 11 Ubiratan Pires Alberton 2009-03-15 10:20:16 UTC
Viewing the files on kpdf shows something similar to what's on the Acrobat Reader images, by the way.
Comment 12 Adrian Johnson 2009-03-19 05:14:24 UTC
Created attachment 24044 [details] [review]
fix smask bug

Patch to fix this bug.
Comment 13 Adrian Johnson 2009-03-20 06:00:51 UTC
Created attachment 24082 [details] [review]
smask scale fix

Fix for the clipped mask when zooming in evince.
Comment 14 Carlos Garcia Campos 2009-03-20 06:13:28 UTC
Applied both patches, thank you very much!


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.