Bug 348580 - PDF gradient incorrectly rendered
Summary: PDF gradient incorrectly rendered
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.22.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-02 11:20 UTC by vanboxem.ruben
Modified: 2015-07-08 07:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
testcase (1.85 KB, application/pdf)
2015-07-06 15:37 UTC, vanboxem.ruben
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vanboxem.ruben 2015-06-02 11:20:15 UTC
PDF gradients are incorrectly rendered in Okular.


Reproducible: Always

Steps to Reproduce:
When rendering the PDF file generated by pdflatex from this source:

\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{shadings}

\begin{document}
\begin{tikzpicture}
\shade[shading=color wheel, opacity=.6, shading angle=220] (0,0) circle (1);
\end{tikzpicture}
\end{document}

Actual Results:  
Okular renders this incorrectly: grid lines and very bad gradient resolution (see screenshots). The grid lines disappear when "shading angle=220" is removed from the source.

Expected Results:  
The gradient should render smoothly (see screenshots)

IIRC, I reported a bug about this to qpdfview, which didn't show the grid lines as okular does, but did show a squar texture pattern, albeit interpolated.
Comment 1 Albert Astals Cid 2015-07-05 22:13:37 UTC
Please attach a pdf file
Comment 2 vanboxem.ruben 2015-07-06 15:37:48 UTC
Created attachment 93502 [details]
testcase

PDF generated from the document showing the bad rendering.

I thought I uploaded the PDF. Sorry about that.
Comment 3 Albert Astals Cid 2015-07-07 21:30:44 UTC
This is a bug in poppler the library we use to render pdf files. Please report a bug at https://bugs.freedesktop.org/
Comment 4 vanboxem.ruben 2015-07-08 07:21:46 UTC
Reported as https://bugs.freedesktop.org/show_bug.cgi?id=91262