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.
Created attachment 56642 [details] [review] don't read inline image stream twice
Please hold on this aptch until next week and let's concentrate on regtesting the xpdf303merge branch.
xpdf303 merge now, feel free to push it
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.