Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 232798 - Serious rendering porblems with Evince targeting Cairo through poppler
Summary: Serious rendering porblems with Evince targeting Cairo through poppler
Alias: None
Product: Fedora
Classification: Fedora
Component: evince
Version: rawhide
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Kristian Høgsberg
QA Contact:
Whiteboard: bzcl34nup
Depends On:
TreeView+ depends on / blocked
Reported: 2007-03-17 23:24 UTC by Klaus Pedersen
Modified: 2008-04-04 05:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-04-04 05:39:52 UTC

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated 9846 None None None Never 12284 None None None Never
GNOME Bugzilla 496540 None None None Never

Description Klaus Pedersen 2007-03-17 23:24:46 UTC
Description of problem:

Version-Release number of selected component (if applicable):

How reproducible:

Load any new datasheet from, fx

Notice that all the glyphs are mirrored(!) - When selecting text the individual
glyphs get the correct orientation. Very weird!

Load application notes from Analog devices, fx

Notice how all the text are rendered white on white...

xpdf renders both documents correctly.

Steps to Reproduce:
1. Download the documents linked about
2. open in evince
Actual results:

3. look at weird rendering

Expected results:

Open documents in xpdf and compare.

Additional info:

Building poppler without support for cairo output solves both problems.
./configure --disable-cairo-output
export LD_LIBRARY_PATH=$POPPLER/poppler/.libs:/$POPPLER/glib/.libs
evince /tmp/tpa6130a2.pdf

Maybe it should be considered to disable cairo in poppler until upstream gets
more stable...

Comment 1 Charles R. Anderson 2007-11-13 19:18:22 UTC
I see no issues with the TI documents and the FC8 evince:


However, the Analog document fails for me with these symptoms:

No text appears except for the page numbers.  Parts of the figures appear fine,
like the line drawings, but not all the shapes on the figures appear correctly
(the figure on the bottom of page 6-3 is missing some of the components).

If you select areas of a page, the text suddenly appears selected of course.

I get this error on the terminal:

cairo context error: out of memory

Comment 2 Charles R. Anderson 2007-11-13 19:23:32 UTC
I have the same problem with this document:

No text appears until I select the page with the mouse.

Comment 3 Charles R. Anderson 2007-11-13 19:31:39 UTC
These errors appear in .xsession-errors:

Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Top-level pages object is wrong type (null)
Error: Couldn't read page catalog
Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Top-level pages object is wrong type (null)
Error: Couldn't read page catalog
cairo context error: out of memory

Comment 4 Charles R. Anderson 2007-11-13 19:41:36 UTC
Upstream bug:

Comment 5 Charles R. Anderson 2007-11-13 22:35:43 UTC
From Freedesktop bug:

------- Comment #14 From Frederic Crozat 2007-10-31 11:19:22 PST -------

correction, to get all PDF rendered correctly, you need fixes for bugs #12284
AND #9846, ie git commit d62f8861689d8b9a9a837043fb78813f0407abd4 and
79d975f84bcc32e91db517d71a7312e2e1d653d4 against cairo 1.4.10

Comment 6 Bug Zapper 2008-04-03 23:42:25 UTC
Based on the date this bug was created, it appears to have been reported
against rawhide during the development of a Fedora release that is no
longer maintained. In order to refocus our efforts as a project we are
flagging all of the open bugs for releases which are no longer
maintained. If this bug remains in NEEDINFO thirty (30) days from now,
we will automatically close it.

If you can reproduce this bug in a maintained Fedora version (7, 8, or
rawhide), please change this bug to the respective version and change
the status to ASSIGNED. (If you're unable to change the bug's version
or status, add a comment to the bug and someone will change it for you.)

Thanks for your help, and we apologize again that we haven't handled
these issues to this point.

The process we're following is outlined here:

We will be following the process here: to ensure this
doesn't happen again.

Comment 7 Charles R. Anderson 2008-04-04 05:39:52 UTC
Based on current rawhide versions and upstream bug report, this should be
working now.  Closing.

Note You need to log in before you can comment on or make changes to this bug.