Bug 91262 - PDF gradient incorrectly rendered
Summary: PDF gradient incorrectly rendered
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-08 07:11 UTC by Ruben Van Boxem
Modified: 2016-03-15 09:51 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Test case (1.85 KB, text/plain)
2015-07-08 07:11 UTC, Ruben Van Boxem
Details

Description Ruben Van Boxem 2015-07-08 07:11:36 UTC
Created attachment 116999 [details]
Test case

The PDF gradient generated by following LaTeX document is rendered incorrectly:

\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}

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.
Comment 1 Ruben Van Boxem 2015-07-08 07:22:03 UTC
Original KDE bug report: https://bugs.kde.org/show_bug.cgi?id=348580
Comment 2 James Cloos 2015-07-08 16:45:12 UTC
cairo also affected.  (tested in evince)
Comment 3 Thomas Freitag 2016-03-15 09:14:55 UTC
Splash part solved with solution of bug 94441, move to cairo!
Comment 4 Adrian Johnson 2016-03-15 09:51:55 UTC
The cairo side was fixed in bug 88394.

BTW, using PostScript functions is a very suboptimal way of generating a conical gradient. Conical gradients can easily be creating using Type 6 shadings.


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.