Bug 45668 - cairo backend does not print inline images
Summary: cairo backend does not print inline images
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-02-05 22:29 UTC by Adrian Johnson
Modified: 2012-02-15 00:21 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
don't read inline image stream twice (862 bytes, patch)
2012-02-05 22:31 UTC, Adrian Johnson
Details | Splinter Review

Description Adrian Johnson 2012-02-05 22:29:40 UTC
The evince bug https://bugzilla.gnome.org/show_bug.cgi?id=653159 contains a pdf file that prints a blank page when using cairo. PSOutputDev can print the file.

All the images in the pdf are inline images. The problem is caused by the setMimeData() function. When printing it reads the image stream a second time. 
According to the comment in PSOutputDev::doImageL2 inline image streams must not be read twice.
Comment 1 Adrian Johnson 2012-02-05 22:31:12 UTC
Created attachment 56642 [details] [review]
don't read inline image stream twice
Comment 2 Albert Astals Cid 2012-02-06 09:30:01 UTC
Please hold on this aptch until next week and let's concentrate on regtesting the xpdf303merge branch.
Comment 3 Carlos Garcia Campos 2012-02-14 23:47:48 UTC
xpdf303 merge now, feel free to push it
Comment 4 Adrian Johnson 2012-02-15 00:21:27 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.