Bug 25437

Summary: Poppler renders badly some nasty PDF while xpdf opens them correctly
Product: poppler Reporter: Lionel Dricot <lionel>
Component: cairo backendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on: 27456    
Bug Blocks:    
Attachments: original PDF produced by the scanner

Description Lionel Dricot 2009-12-04 01:18:53 UTC
This happens with PDF files generated by our LAN scanner.

All Poppler-based applications render them very strangely (text are sometimes invisible, sometimes inversed like in a mirror). Confirmed with Evince and with PDFmod.

If you open the PDF with the good old xpdf, there's no problem at all. (except some 

Error (1090556): Unexpected EOF in JBIG2 stream
Error (1090973): Unexpected EOF in JBIG2 stream
Error (1091391): Unexpected EOF in JBIG2 stream
Error (1091958): Unexpected EOF in JBIG2 stream
Error (1092294): Unexpected EOF in JBIG2 stream

in the console.


The workaround is to open the PDF with Evince and print it to a PDF file. The output produced is fine in Evince then.
Comment 1 Lionel Dricot 2009-12-04 01:20:05 UTC
Created attachment 31730 [details]
original PDF produced by the scanner

As you can see with Evince, the text appears like in a mirror. Really strange. It's fine in XPDF.
Comment 2 Carlos Garcia Campos 2009-12-04 01:34:42 UTC
Looks like a bug in CairoOutputDev::drawImageMaskPrescaled() that's why it works when rendering for printing. 
Comment 3 Michał Grzybowski 2014-05-23 04:50:00 UTC
Works for me in evince, with version 0.24.5.

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.