Bug 82879 - pdftocairo -svg produces blank image
Summary: pdftocairo -svg produces blank image
Status: RESOLVED DUPLICATE of bug 71861
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-20 23:05 UTC by Lu Wang
Modified: 2014-09-22 21:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Lu Wang 2014-08-20 23:05:40 UTC
Test file:
http://download.vistair.com/pdf2htmlEX/Page-25fromMON-B757-GREEN.pdf

The output of `pdftocairo -svg` is not empty, but blank.
Comment 1 David Hedley 2014-09-20 21:55:40 UTC
As an update to this, the error is in the matrix computed for the image mask.

In the SVG this is set to:

transform="matrix(0.00057971,0,0,-0.000407166,0,1)"

When it should be something closer to:

transform="matrix(0,0.35,-0.20,0,450,0)" 

in order to get something like the correct result.
Comment 2 David Hedley 2014-09-22 20:59:28 UTC
I have tracked this issue to Cairo. I will submit another bug report with more detail to cairo.
Comment 3 David Hedley 2014-09-22 21:11:47 UTC

*** This bug has been marked as a duplicate of bug 71861 ***


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.