Horizontal lines appear on blue background on pdf

Bug #318130 reported by Ilan Tal
40
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Poppler
Unknown
Medium
poppler (Ubuntu)
Triaged
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: evince

We have a pdf file exported from Open Office Impress. The background is blue and there are horizontal lines through the image. The lines vary somewhat in colour, going from white to the blue.
If the slide show is made in OO Impress, all is well (showing that this isn't a hardware problem). Likewise if the same exported pdf file is shown on Windows XP, all is well. The problem only appears in Evince 2.24.1 in Ubuntu 8.10.
We cannot use Evince for the slide show because of these ugly lines.

Thanks,
Ilan

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/evince
NonfreeKernelModules: nvidia
Package: evince 2.24.1-0ubuntu1
ProcEnviron:
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: evince
Uname: Linux 2.6.27-9-generic i686

Revision history for this message
Ilan Tal (ilan-tal) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, could you add an example to the bug?

Changed in evince:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Ilan Tal (ilan-tal) wrote :

Hi Sebastien,
We were under pressure to finish the slide show and I didn't want to attach the whole presentation. Here is an example of the first slide. In Open Office or on XP, all looks fine with a clean blue background.
If I can help in any way, just let me know.

Ilan

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

confirmed, acroread doesn't display the lines however evince (poppler) does, more like a poppler issue, re assigning, thanks in advance.

Changed in evince:
status: Incomplete → New
Revision history for this message
In , Pedro Villavicencio (pedro) wrote :

this report has been filed here:

https://bugs.edge.launchpad.net/poppler/+bug/318130

"We have a pdf file exported from Open Office Impress. The background is blue and there are horizontal lines through the image. The lines vary somewhat in colour, going from white to the blue.
If the slide show is made in OO Impress, all is well (showing that this isn't a hardware problem). Likewise if the same exported pdf file is shown on Windows XP, all is well."

PDF:

http://launchpadlibrarian.net/21362015/seminar1.pdf

Revision history for this message
In , Albert Astals Cid (aacid) wrote :

Not a cairo only problem.

Revision history for this message
Pedro Villavicencio (pedro) wrote :
Changed in poppler:
status: New → Triaged
importance: Undecided → Unknown
status: New → Unknown
Changed in poppler:
status: Unknown → Confirmed
Revision history for this message
nigra (nigra) wrote :

Is there any news with respect to this bug? (Or any workaround?)

Revision history for this message
Sebastien Bacher (seb128) wrote :

there has been no recent comment but you can try asking on the upstream bug if you think that's an important issue in evince

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

Still occurring on Ubuntu 10.04 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

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

Thanks Albert,

Do you have any information on where the problem lies? Or any information on how we can determine where the problem lies?

Revision history for this message
In , Albert Astals Cid (aacid) wrote :

My guess is that the algorithm that draws the gradient "overlaps" two sections of the gradient and that results in the wrong coloring, the problem most probably lies in Gfx.cc

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

Still occurring on Ubuntu 10.10 alpha 2 updated to the latest versions of poppler and Evince.

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

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

Still occurring on Ubuntu 10.10 beta updated to the latest versions of poppler and Evince.

Uname: Linux 2.6.35-19-generic i686
Packages:
    evince 2.31.92-0ubuntu2
    poppler 0.14.3-0ubuntu1

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

Still occurring on Ubuntu 10.10 updated to the latest versions of poppler and Evince.

Uname: Linux 2.6.35-22-generic i686
Packages:
    evince 2.32.0-0ubuntu1
    poppler 0.14.3-0ubuntu1.1

Upgrading libpixman to 0.19.7+git20101025.1c23142e-0ubuntu0sarvatt from the xorg-edgers PPA did not help, despite the "Much improved radial and linear gradients" mentioned for the recently released 0.19.6 at http://lists.freedesktop.org/archives/xorg-announce/2010-October/001434.html , so I guess comment #12 is correct.

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 beta 2.

Packages:
    evince 2.32.0-0ubuntu12
    poppler 0.16.4-0ubuntu1

tags: added: natty
Revision history for this message
In , Adrian Johnson (ajohnson-redneon) wrote :

Created attachment 57654
align fills

Here's an experimental patch for the cairo backend. It doesn't completely solve the problem but it does eliminate the seams in some cases.

Some test cases I tried it with:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/348679/+attachment/510918/+files/test.pdf
Eliminates the seams sometimes depending on the resolution rendered at.

https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/318130/+attachment/441616/+files/seminar1.pdf
Seems to eliminate the seams at all resolutions I tested.

https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/387016/+attachment/606341/+files/Evince%20incorrect%20rendering.zip
Eliminates the seams for all resolutions I tested except 150ppi where the one seam is worse. This is because the the coordinates of the adjacent fill where the line is worse are not identical (0.1 difference vertically).

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

This is still occurring in Ubuntu 12.04 "Precise Pangolin" beta 1.

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

madbiologist (me-again)
tags: added: precise quantal
Revision history for this message
madbiologist (me-again) wrote :

This is still occurring in Ubuntu 12.10 "Quantal Quetzal".

Packages: evince 3.6.0-0ubuntu2
                 libpoppler28 0.20.4-0ubuntu1
                 libcairo2 1.12.2-1ubuntu2.2

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

This is still occurring on Ubuntu 14.04 "Trusty Tahr".

uname: Linux 3.13.0-24-generic i686

evince 3.10.3-0ubuntu10
poppler 0.24.5-2ubuntu4

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

Still occurring on Ubuntu 15.04 "Vivid Vervet"

evince 3.14.2-0ubuntu2
poppler 0.30.0-0ubuntu1

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

Still occurring on Ubuntu 16.04 "Xenial Xerus".

evince 3.18.2-1ubuntu4
poppler 0.41.0-0ubuntu1.1

tags: added: xenial
Revision history for this message
In , Gitlab-migration (gitlab-migration) wrote :

-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/501.

Changed in poppler:
status: Confirmed → Unknown
Revision history for this message
madbiologist (me-again) wrote :

Still occurring on Ubuntu 18.04 "Bionic Beaver".

evince 3.28.4-0ubuntu1
poppler 0.57.0-2ubuntu5

tags: added: bionic
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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