evince: Bad PDF rendering: invalid font scale
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Poppler |
Fix Released
|
Medium
|
|||
poppler (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
* Many PDFs do not display correctly, including the boarding passes from a
major European airline.
* Printing a boarding pass is a common simple task which users expect to
work, and therefore should be fixed in the stable release.
* See upstream bug report for discussion about the mechanism of the fix.
[Test Case]
* Attempt to view the test case in the linked upstream bug using 'evince
attachment.pdf'.
* Observe corrupted text displayed.
[Regression Potential]
* Theoretically, other PDFs which currently display correctly could be displayed incorrectly after this change, but is intended to emulate acroread, so this is unlikely.
* Patch has been reviewed and committed upstream, so should be safe.
Changed in poppler: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in poppler (Ubuntu Trusty): | |
importance: | Undecided → Low |
description: | updated |
tags: | added: trusty |
Changed in poppler (Ubuntu): | |
importance: | Low → Medium |
Changed in poppler (Ubuntu Trusty): | |
importance: | Low → Medium |
Created attachment 98133
easyjet boarding pass not rendered correctly
Hello, the attached PDF (easyjet boarding pass) is not correctly rendered under poppler (evince).
I am using Ubuntu 14.04 amd64, so evince 3.10.3 and poppler 0.24.5.
Evince prints a lot of messages like:
Syntax Warning: font matrix not invertible<0a>
while ghostscript renders the PDF correctly, but prints lots of:
**** Warning: Invalid 0.0 font scale given for Tf ****
**** Warning: /BBox has zero width or height, which is not allowed.
so I suspect the PDF is defective, but poppler should be made more "fault tolerant" as ghostscript does.
Otherwise, no boarding pass print anymore :-(
I can fix the PDF with out.pdf in.pdf
gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=