Bug 47739 - pdftocairo -eps processes this file incorrectly
Summary: pdftocairo -eps processes this file incorrectly
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: 2012-03-22 20:16 UTC by William Bader
Modified: 2012-03-26 01:48 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
example file (1.70 MB, application/pdf)
2012-03-22 20:16 UTC, William Bader
Details
correct image from pdftops (162.58 KB, image/gif)
2012-03-22 20:17 UTC, William Bader
Details
bad image from pdftocairo -eps (99.44 KB, image/gif)
2012-03-22 20:22 UTC, William Bader
Details
Fix problem with cs patterns and imagemasks in cairo (1.74 KB, patch)
2012-03-23 04:27 UTC, Adrian Johnson
Details | Splinter Review

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.