Bug 34488

Summary: PDF's created in ABBYY Finereader unreadable in Poppler based programs
Product: poppler Reporter: Anton Eliasson <anton.e.92>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium CC: anton.e.92, stimberg
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Example of a PDF that induces the mentioned problems
Screenshot of the incorrect rendering

Description Anton Eliasson 2011-02-19 12:47:30 UTC
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/
Comment 1 Anton Eliasson 2011-02-19 12:49:54 UTC
Created attachment 43557 [details]
Example of a PDF that induces the mentioned problems
Comment 2 Marcel Stimberg 2011-02-20 02:35:57 UTC
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?
Comment 3 Albert Astals Cid 2011-02-20 04:16:47 UTC
Works perfectly here on poppler 0.16.2

Can you attach a screenshot of what you get?
Comment 4 Marcel Stimberg 2011-02-20 06:11:16 UTC
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.
Comment 5 Marcel Stimberg 2011-02-20 06:12:02 UTC
Created attachment 43569 [details]
Screenshot of the incorrect rendering
Comment 6 Albert Astals Cid 2011-02-20 10:29:56 UTC
Ubuntu is compiling without linking to openjpeg. Not our problem
Comment 7 Marcel Stimberg 2011-02-20 13:00:57 UTC
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.