Evince not displaying pdf correctly

Bug #193927 reported by Nicklas Svanteson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Poppler
Fix Released
Medium
poppler (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Evince does not display a pdf correctly. It seems like a layer or something is missing.
I have no idea of how the pdf was made but I have attached the example.pdf to this bug report. I will also attach screenshots from evince and also xpdf (which does display it correctly).

Tags: lucid maverick

Related branches

Revision history for this message
Nicklas Svanteson (nicklas-teknister) wrote :
Revision history for this message
Nicklas Svanteson (nicklas-teknister) wrote :

Screenshot from Evince

Revision history for this message
Nicklas Svanteson (nicklas-teknister) wrote :

Screenshot from xpdf

Revision history for this message
Nicklas Svanteson (nicklas-teknister) wrote :

Also, Evince seems to slow the computer down a lot when you have the pdf file open. That is not the case with xpdf.

Revision history for this message
Nicklas Svanteson (nicklas-teknister) wrote :

I forgot to mention, I'm running Hardy Alpha 4 but I have the same problem on an other computer with Gutsy.

Revision history for this message
In , Pedro Villavicencio (pedro) wrote :

This report has been filed here:

https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/193927

"Evince does not display a pdf correctly. It seems like a layer or something is missing.
I have no idea of how the pdf was made but I have attached the example.pdf to this bug report. I will also attach screenshots from evince and also xpdf (which does display it correctly)."

http://launchpadlibrarian.net/12128520/example.pdf
http://launchpadlibrarian.net/12128526/evince.png
http://launchpadlibrarian.net/12128527/xpdf.png

Thanks,

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: https://bugs.freedesktop.org/show_bug.cgi?id=14619

Changed in poppler:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Triaged
Revision history for this message
In , Albert Astals Cid (aacid) wrote :

Can reproduce it on cairo backend, not with splash

Changed in poppler:
status: Unknown → Confirmed
Revision history for this message
In , Carlos Garcia Campos (carlosgc) wrote :

This is another bug in drawImageMaskPrescaled :-(

Revision history for this message
madbiologist (me-again) wrote :

Still occurring in Karmic 9.10 with all the latest updates.

Linux 2.6.31-16-generic i686
poppler 0.12.0-0ubuntu2.1
evince 2.28.1-0ubuntu1.2

Revision history for this message
madbiologist (me-again) wrote :

Still occurring on Ubuntu 10.04 Lucid Lynx alpha 2.

Uname: Linux 2.6.32-10-generic i686
Packages:
evince 2.29.5-0ubuntu1
poppler 0.12.2-2.1ubuntu3

Revision history for this message
madbiologist (me-again) wrote :

Still occurring on Ubuntu 10.04 Lucid Lynx alpha 2 updated to the latest version of poppler.

Uname: Linux 2.6.32-10-generic i686
Packages:
evince 2.29.5-0ubuntu1
poppler 0.12.3-0ubuntu1
libcairo2 1.8.8-2ubuntu2

Revision history for this message
madbiologist (me-again) wrote :

Still occurring on Ubuntu 10.10 "Maverick Meerkat" alpha 2 updated to the latest Ubuntu packages.

Uname: Linux 2.6.35-6-generic i686
Packages: evince 2.30.3-1ubuntu2
                  poppler 0.14.1-0ubuntu1
                  libcairo2 1.9.14-1

Changed in poppler:
importance: Unknown → Medium
Changed in poppler:
importance: Medium → Unknown
Changed in poppler:
importance: Unknown → Medium
madbiologist (me-again)
tags: added: lucid maverick
Revision history for this message
madbiologist (me-again) wrote :

Still occurring on Ubuntu 11.04 "Natty Narwhal" alpha 3.

Uname: Linux 2.6.38-5-generic i686
Packages:
       evince 2.32.0-0ubuntu10
       poppler 0.16.2-0ubuntu1

Revision history for this message
madbiologist (me-again) wrote :

Still occurring on Ubuntu 11.10 "Oneiric Ocelot" beta 1.

Packages: evince 3.1.2-0ubuntu4
                 libpoppler13 0.16.7-2ubuntu2
                 libcairo2 1.10.2-6ubuntu3

Revision history for this message
In , Patrick Pfeifer (patrick2000) wrote :

Created attachment 55785
Fix-test-for-rotation.patch

This patch fixes the bug, which stems from the wrong assumption
that rotation can be detected by testing (matrix.xy == 0 && matrix.yx == 0) only.

Defined LOG_CAIRO in CairoOutputDev.cc and checked the output to
make sure the test works, with the old attached pdf: Edited it in vim and changed /Rotate 180 to 0, 90 and 270 ("attempting to reconstruct xref table" succeeded...). Prints "drawImageMaskPrescaled" if the mask is not rotated, and "drawImageMask" if it is, as intended.

Revision history for this message
In , Carlos Garcia Campos (carlosgc) wrote :

Comment on attachment 55785
Fix-test-for-rotation.patch

Review of attachment 55785:
-----------------------------------------------------------------

Pushed to git master, thanks!

Changed in poppler:
status: Confirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in poppler (Ubuntu):
status: Triaged → Fix Committed
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package poppler - 0.18.3-0ubuntu3

---------------
poppler (0.18.3-0ubuntu3) precise; urgency=low

  * debian/patches/git_test_rotation.patch:
    - git patch "cairo: Fix test for rotation" (lp: #193927)
 -- Sebastien Bacher <email address hidden> Mon, 23 Jan 2012 20:35:12 +0100

Changed in poppler (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.