Bug 726991

Summary: Evince shows partial pages of Pepco bills
Product: [Fedora] Fedora Reporter: Phill Wolf <phill.wolf>
Component: evinceAssignee: Marek Kašík <mkasik>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: mkasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-05 10:52:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Phill Wolf 2011-07-31 20:17:59 UTC
The Washington, DC, electric utility, Pepco, provides PDF bills that evince displays only the upper portion of each page of.  I have not attached my Pepco bill to this report.

Evince displays numerous messages like these:

Error (15359): Too few (2) args to 'Tm' operator
Error (15359): Too few (2) args to 'Tm' operator
Error (41897): Too few (2) args to 'Tm' operator

The PDF files contain this metadata:

InfoKey: Producer
InfoValue: e2 Rendering Engine 5.4M3p0166

Software versions (including xpdf, which works fine, to support "Additional Information" below):

Fedora 14:
$ rpm -q xpdf evince poppler
xpdf-3.02-16.fc14.x86_64
evince-2.32.0-4.fc14.x86_64
poppler-0.14.5-3.fc14.x86_64

Fedora 15:
$ rpm -q xpdf evince poppler
xpdf-3.02-16.fc15.i686
evince-3.0.2-1.fc15.i686
poppler-0.16.7-1.fc15.i686


How reproducible:

Always - beginning with the Pepco billing month ending in April, 2011.


Steps to Reproduce:

1. Open PDF file by typing 'evince ...' into bash.
2. Key in ^A, ^C.
3. Paste into gedit. 

  
Actual results:

1. Evince shows a white paper area as usual, but markings only at the top of it.
1.5. bash window (evince's standard output) shows error messages.
3. gedit displays the text you expected evince to display.


Expected results:

1. Evince should show the page fully, or anyway no worse than xpdf.


Additional info:

RHEL6 does not have this problem.  It has evince 2.28.2 and poppler 0.12.4.

xpdf does not exhibit this problem.  xpdf displays the same error messages as evince, but nonetheless shows the page contents to my satisfaction.

Older Pepco bills, with metadata citing 5.4M2 instead of 5.4M3, appear OK in evince.

Comment 1 Marek Kašík 2011-08-05 10:52:41 UTC
Hi Phill,

I've looked into the PDF and there are 8 places where 'Tm' operator gets only 2 parameters instead of 6. This is considered as an error by poppler and it stops draw the rest of the stream. It was added in poppler-0.13.1. This is an intended behaviour (see https://bugs.freedesktop.org/show_bug.cgi?id=24575 and commit 'Allow commands to abort the current stream').
I'm closing this as notabug.

Regards

Marek