[xep-support] SVG gradient

Mark Cilia Vincenti markciliavincenti at gmail.com
Mon Nov 17 02:28:03 PST 2008


Hi,

I have this SVG which shows up fine in Firefox, yet RenderX keeps outputting
just the stroke without the gradient. Any ideas please?

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "
http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg viewBox = "0 0 350 350" version = "1.1" xmlns="
http://www.w3.org/2000/svg">
    <defs>
        <linearGradient id="grad1" x1="50%" y1 ="0%" x2 ="50%" y2 ="100%">
            <stop style="stop-color:rgb(255,255,255);stop-opacity:1" offset
= "0%"/>
            <stop style="stop-color:rgb(100,100,100);stop-opacity:1" offset
= "100%"/>
        </linearGradient>
    </defs>
    <rect width = "350" height = "350" stroke = "black" stroke-width = "1"
fill = "url(#grad1)"/>
</svg>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20081117/56486cac/attachment.html>


More information about the Xep-support mailing list