[cairo] PDF Transparent Gradients

Jeff Muizelaar jeff at infidigm.net
Tue Mar 20 07:09:20 PDT 2007


Yep, it looks like something is wrong here. I'll look into it when I get
the chance.

-Jeff

On Mon, Mar 19, 2007 at 08:51:06AM +1030, Adrian Johnson wrote:
> Jeff Muizelaar wrote:
> > On Sun, Mar 18, 2007 at 03:30:40PM +1030, Adrian Johnson wrote:
> >> Poppler does not appear to support SMasks. Also, enabling padding with a
> >> radial gradient did not pad out the entire rectangle I was filling.
> > 
> > Poppler should support SMasks. What isn't working?
> > 
> > -Jeff
> 
> I've attached two pdf files containing a linear gradient with a red and
> green color stop and the extend mode CAIRO_EXTEND_PAD.  The only
> difference between the two is the the green color stop in
> transparent_gradient.pdf has 0.5 alpha while in opaque_gradient.pdf it
> is 1.0. The red color stop has alpha = 1 in both files.
> 
> I've also attached screen captures of each pdf as displayed by evince
> and ghostscript. The evince output appears to be identical for both
> pdf files.
> 
> I am using evince 0.6.1, poppler 0.5.4, and ghostscript 8.54.
> 









More information about the cairo mailing list