This report has been filed here: https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/193927 "Evince does not display a pdf correctly. It seems like a layer or something is missing. I have no idea of how the pdf was made but I have attached the example.pdf to this bug report. I will also attach screenshots from evince and also xpdf (which does display it correctly)." http://launchpadlibrarian.net/12128520/example.pdf http://launchpadlibrarian.net/12128526/evince.png http://launchpadlibrarian.net/12128527/xpdf.png Thanks,
Can reproduce it on cairo backend, not with splash
This is another bug in drawImageMaskPrescaled :-(
Created attachment 55785 [details] [review] Fix-test-for-rotation.patch This patch fixes the bug, which stems from the wrong assumption that rotation can be detected by testing (matrix.xy == 0 && matrix.yx == 0) only. Defined LOG_CAIRO in CairoOutputDev.cc and checked the output to make sure the test works, with the old attached pdf: Edited it in vim and changed /Rotate 180 to 0, 90 and 270 ("attempting to reconstruct xref table" succeeded...). Prints "drawImageMaskPrescaled" if the mask is not rotated, and "drawImageMask" if it is, as intended.
Comment on attachment 55785 [details] [review] Fix-test-for-rotation.patch Review of attachment 55785 [details] [review]: ----------------------------------------------------------------- Pushed to git master, thanks!
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.