Bug 47739

Summary: pdftocairo -eps processes this file incorrectly
Product: poppler Reporter: William Bader <williambader>
Component: cairo backendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: williambader
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: example file
correct image from pdftops
bad image from pdftocairo -eps
Fix problem with cs patterns and imagemasks in cairo

Description William Bader 2012-03-22 20:16:32 UTC
Created attachment 58896 [details]
example file

The postscript leaves a white rectangle.  It might be a transparency problem.
I used a 13 March 2012 snapshot from git.
evince on my system, which has poppler/cairo 0.14.5, does the same thing.
William
Comment 1 William Bader 2012-03-22 20:17:59 UTC
Created attachment 58897 [details]
correct image from pdftops
Comment 2 William Bader 2012-03-22 20:22:13 UTC
Created attachment 58898 [details]
bad image from pdftocairo -eps

I made the images from screen capture of gv using
pdftocairo -eps bug-poppler27482-precision.pdf x.ps
gv x.ps
pdftops bug-poppler27482-precision.pdf x.ps
gv x.ps
I have gv 3.7.3.90 and gs 9.05.


Note -- I do not need this to work.  I use only pdftops, which handles this file correctly.
Comment 3 Adrian Johnson 2012-03-23 04:27:04 UTC
Created attachment 58912 [details] [review]
Fix problem with cs patterns and imagemasks in cairo

Patch to fix the problem.
Comment 4 William Bader 2012-03-23 08:41:36 UTC
Thanks, I applied the patch and it fixed the problem.
Comment 5 Carlos Garcia Campos 2012-03-26 00:58:16 UTC
Comment on attachment 58912 [details] [review]
Fix problem with cs patterns and imagemasks in cairo

Review of attachment 58912 [details] [review]:
-----------------------------------------------------------------

Thanks, feel free to push it.
Comment 6 Adrian Johnson 2012-03-26 01:48:49 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.