Summary: | problem combining gradient with transparency | ||
---|---|---|---|
Product: | poppler | Reporter: | Tillmann Falck <tilli.falck> |
Component: | splash backend | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | ockham |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
pdf containing gradient
bzip2 compressed ppm that shows misrendering gradient_transparency.pdf |
Created attachment 29755 [details]
bzip2 compressed ppm that shows misrendering
The pdf looks perfect with poppler 0.12 and cairo from git master. Created attachment 33790 [details]
gradient_transparency.pdf
I think I might experience a related problem. The attached file gradient_transparency.pdf (made with scribus 1.3.5.1) renders fine with acroread 9, displaying a "spotlight" (achieved by an ellipse with a radial gradient with transparency) in the lower left corner. In evince 2.28.1 (with poppler 0.12.0 (cairo), on Ubuntu 9.10), there's just a white ellipse instead.
(In reply to comment #3) > Created an attachment (id=33790) [details] > gradient_transparency.pdf > > I think I might experience a related problem. The attached file > gradient_transparency.pdf (made with scribus 1.3.5.1) renders fine with > acroread 9, displaying a "spotlight" (achieved by an ellipse with a radial > gradient with transparency) in the lower left corner. In evince 2.28.1 (with > poppler 0.12.0 (cairo), on Ubuntu 9.10), there's just a white ellipse instead. > It works with cairo backend, but you need cairo >= 1.9.4 Should be fixed in the splash backend too with poppler >= 0.16.0 when we release it. |
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.
Created attachment 29754 [details] pdf containing gradient Viewing the attached PDF in evince or KPDF (from CentOS 5.3) or okular (Ubuntu karmic) shows horizontal lines in the gradient that do not show in acroread. The effect is more pronounced in KPDF/okular where the lines are darker than in evince in which they are white. Also attached a ppm generated with "pdftoppm version 0.10.7" which shows the same behavior as KPDF/okular. The gradient is linear with an opaqueness of 70%. Fully opaque gradients render fine as well as solid fills with an opaqueness less than one. A minimal latex file to reproduce the behavior is ---- \documentclass[a4paper]{article} \usepackage{fullpage} \usepackage[x11names]{xcolor} \usepackage{tikz} \begin{document} \begin{tikzpicture} \shade[top color=Green4, bottom color=Green2,fill opacity=.7] (0,0) rectangle (5,23); \end{tikzpicture} \end{document} ---- Best regards Tillmann