Bug 19760 - Horizontal lines appear on blue background on pdf
Summary: Horizontal lines appear on blue background on pdf
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
Depends on:
Reported: 2009-01-27 06:30 UTC by Pedro Villavicencio
Modified: 2018-08-21 11:04 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

align fills (2.84 KB, patch)
2012-02-26 03:21 UTC, Adrian Johnson
Details | Splinter Review

Description Pedro Villavicencio 2009-01-27 06:30:14 UTC
this report has been filed here:


"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."


Comment 1 Albert Astals Cid 2009-01-27 11:29:25 UTC
Not a cairo only problem.
Comment 2 madbiologist 2010-03-06 01:06:54 UTC
Thanks Albert,

Do you have any information on where the problem lies?  Or any information on how we can determine where the problem lies?
Comment 3 Albert Astals Cid 2010-03-06 03:22:10 UTC
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
Comment 4 Adrian Johnson 2012-02-26 03:21:52 UTC
Created attachment 57654 [details] [review]
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:
Eliminates the seams sometimes depending on the resolution rendered at.

Seems to eliminate the seams at all resolutions I tested.

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).
Comment 5 GitLab Migration User 2018-08-21 11:04:31 UTC
-- 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.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.