Bug 25437 - Poppler renders badly some nasty PDF while xpdf opens them correctly
Summary: Poppler renders badly some nasty PDF while xpdf opens them correctly
Status: RESOLVED WORKSFORME
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 27456
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-04 01:18 UTC by Lionel Dricot
Modified: 2014-05-23 04:50 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
original PDF produced by the scanner (445.09 KB, application/pdf)
2009-12-04 01:20 UTC, Lionel Dricot
Details

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.