If I try to open a PDF file created by the Windows OCR program ABBYY Finereader 10 in any Poppler based viewer such as Evince, Okular, ePdfViewer or Xpdf; the entire document is unreadable. The background is filled with colorful visual artefacts, stretching the whole document even when the background is supposed to be white. The "file" command suggests that the files are "PDF documents, version 1.3". Attached is an example of a problematic PDF file. Source: http://forum.ubuntuusers.de/post/2484082/
Created attachment 43557 [details] Example of a PDF that induces the mentioned problems
This is reproducable with poppler 0.16.2 (Ubuntu Natty) and 0.14.3 (Ubuntu Maverick), but strangely enough not with 0.14.3 and the applied patches for bug #30106 (layer handling) – so potentially a regression?
Works perfectly here on poppler 0.16.2 Can you attach a screenshot of what you get?
My last comment about 0.14.3+patches seems to be a read herring… I actually get a correct rendering if I rebuild Ubuntu’s 0.14.3 poppler package -- so the problem seems to lie somewhere else, maybe in some library responsible for raster graphics? I’ll attach a screenshot of the incorrect rendering with Ubuntu 11.04 (poppler 0.16.2). BTW: evince and pdffonts print several "Error: Invalid Font Weight" messages when opening the document.
Created attachment 43569 [details] Screenshot of the incorrect rendering
Ubuntu is compiling without linking to openjpeg. Not our problem
Thanks a lot, when poppler is linked to openjpeg the PDF indeed renders fine. BTW: There’s some hope that openjpeg will change from universe to main in Ubuntu 11.04 (see https://bugs.launchpad.net/ubuntu/+source/openjpeg/+bug/711061), this will then allow poppler to link against it by default.
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.