Comment 21 for bug 164233

Revision history for this message
Adrian Johnson (ajohnson-redneon) wrote : Re: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped

Test2.pdf is a postscript file, not pdf. So it will be rendered by ghostscript when viewed with evince.

The problem is caused by libreoffice. The "gradient" is actually a series of shaded rectangles. In fact the rectangles are not even correctly aligned. There is a tiny gap between each one. Cairo (used by evince) has a problem with showing lines between adjacent fills due to antialiasing. There is no easy way to fix this. And the small gaps between the rectangles caused by libreoffice will make the problem worse.

The best solution is for libreoffice to use PDF gradients to draw the shading.