evince badly mis-renders gradients in pdf

Bug #710137 reported by sam tygier on 2011-01-30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Won't Fix
poppler (Ubuntu)

Bug Description

Binary package hint: evince

the poor rendering of background gradients in
makes it mostly unreadable.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: evince 2.32.0-0ubuntu8
ProcVersionSignature: Ubuntu 2.6.37-12.26-generic 2.6.37
Uname: Linux 2.6.37-12-generic x86_64
Architecture: amd64
Date: Sun Jan 30 12:25:06 2011
 Jan 30 12:18:44 ubuntu kernel: [ 0.020000] Security Framework initialized
 Jan 30 12:18:44 ubuntu kernel: [ 0.020000] AppArmor: AppArmor initialized
 Jan 30 12:18:44 ubuntu kernel: [ 0.275442] AppArmor: AppArmor Filesystem Enabled
 Jan 30 12:18:44 ubuntu kernel: [ 0.297430] type=2000 audit(1296389902.290:1): initialized
LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110127)
ProcVersionSignature_: Ubuntu 2.6.37-12.26-generic 2.6.37
SourcePackage: evince

Created attachment 42722
Rendered using poppler/evince

The gradients on this PDF do not get rendered correctly: http://emetral.web.cern.ch/emetral/USPAS09course/SpaceCharge.pdf

I am forwarding this downstream bug:https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/710137

Created attachment 42723
rendered using Acrobat Reader

sam tygier (samtygier) wrote :
sam tygier (samtygier) wrote :

same file in acroread

Seems to be cairo backend specific

bbordwell (benbordwell) wrote :

Evince uses the poppler library to render PDF files.

Changed in evince (Ubuntu):
status: New → Confirmed
affects: evince (Ubuntu) → poppler (Ubuntu)
bbordwell (benbordwell) on 2011-01-30
Changed in poppler (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Low
Changed in poppler:
status: Unknown → Confirmed
Changed in poppler:
importance: Unknown → Medium

(In reply to comment #2)
> Seems to be cairo backend specific

I can't reproduce it, I see the same output than splash, which is different than the acroread screenshot (the background color).

I do get an empty white background with cairo and a purple-ish one (yes a bit different from Acroread it seems with splash)

Ask anything you might want me to do to help see why i get nothing in cairo.

Maybe it depends on pixman/cairo versions, I'm currently using git master for both.

I'm using
  pixman 0.20.2
  cairo 1.10.2
that i think are the latest versions. If you are sure this is a pixmap/cairo problem and not ours you should mark the bug as resolved->notourbug

No, I'm not sure.

sam tygier (samtygier) wrote :

in oneiric, evince 3.0.2, Using poppler/cairo (0.16.4).
no background is rendered, see attached

sam tygier (samtygier) wrote :

still the same in with poppler/cairo (0.16.7)

madbiologist (me-again) wrote :

No background rendered in Ubuntu 12.04 "Precise Pangolin" beta 1 either.

Packages: evince 3.3.90-0ubuntu2
                   libpoppler19 0.18.4-1ubuntu1
                   libcairo2 1.10.2-6.1ubuntu2

Before building cairo 1.12, I could reproduce this bug (with a white
background) After building poppler on cairo 1.12, the PDF looks fine
to me.

Probably an issue with an old cairo version.

madbiologist (me-again) wrote :

The background gradient renders correctly on Ubuntu 12.10 "Quantal Quetzal". It's purple instead of blue though.

Pacakges: evince 3.6.0-0ubuntu2
              libpoppler26 0.20.1-1ubuntu1
              libcairo2 1.12.2-1ubuntu2.1

madbiologist (me-again) wrote :

Adobe Reader 9.3.0 on Windows also renders the background gradient in purple. Closing bug.

Changed in poppler (Ubuntu):
status: Triaged → Fix Released

So should we close this one?

Works for me with cairo 1.12. Looks like a cairo bug that has been fixed.

Changed in poppler:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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