Bug 40828

Summary: Image not showing in PDF
Product: poppler Reporter: Karsten Richter <acc+freedesktop>
Component: cairo backendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Broken Sample PDF
patch to fix bug

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.