Bug 40828 - Image not showing in PDF
Summary: Image not showing in PDF
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-13 05:11 UTC by Karsten Richter
Modified: 2012-02-19 03:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Broken Sample PDF (959.65 KB, application/pdf)
2011-09-13 05:31 UTC, Karsten Richter
Details
patch to fix bug (784 bytes, patch)
2012-02-16 04:04 UTC, Adrian Johnson
Details | Splinter Review

Description Karsten Richter 2011-09-13 05:11:46 UTC
Steps to reproduce: Use Apple Pages and select the "Musical" template.
When saved as PDF the Image is showing perfectly fine on Acrobat (win32) and Preview ( Mac OS X 10.7) but evince will show the background instead of the image.

Sample PDF can be provided on request but as it is 3MB in space not attached here.
Comment 1 Albert Astals Cid 2011-09-13 05:20:51 UTC
Please sent the file.
Comment 2 Karsten Richter 2011-09-13 05:31:44 UTC
Created attachment 51115 [details]
Broken Sample PDF

Attached sample PDF as requested  - this is the result of Apple Pages '09 export as PDF without any modifications.

Also some relevant version numbers ( Ubuntu 11.04 x86_64) 

libpoppler-glib6                      0.16.4-0ubuntu1.1
libpoppler13                          0.16.4-0ubuntu1.1
evince                                2.32.0-0ubuntu12.2                         evince-common                         2.32.0-0ubuntu12.2
Comment 3 Albert Astals Cid 2011-09-13 05:48:26 UTC
Cairo renderer bug
Comment 4 Adrian Johnson 2012-02-16 04:04:51 UTC
Created attachment 57148 [details] [review]
patch to fix bug

Commit 4bb34757 fixed a number of setSoftMask bugs but missed fixing the cairo_mask in drawImage. Patch attached.
Comment 5 Carlos Garcia Campos 2012-02-19 02:43:31 UTC
(In reply to comment #4)
> Created attachment 57148 [details] [review] [review]
> patch to fix bug
> 
> Commit 4bb34757 fixed a number of setSoftMask bugs but missed fixing the cairo_mask in drawImage. Patch attached.

Push it! :-)
Comment 6 Adrian Johnson 2012-02-19 03:11:20 UTC
Pushed


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.