I have a simple svg file that works fine with an SVG viewer. The interesting part is that it has a gradient for a fill.
When I run it through fop 0.20.4 the gradient does not come up. Am I doing something wrong? SVG FILE (simple.svg) <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000802//EN" "http://www.w3.org/TR/2000/CR-SVG-20000802/DTD/svg-20000802.dtd"> <svg width="600" height="500" xml:space="preserve"> <linearGradient id="fill1" gradientTransform="rotate(105)"> <stop offset="0%" style="stop-color:#FFFFFF"/> <stop offset="30%" style="stop-color:#AAAAAA"/> <stop offset="85%" style="stop-color:#000000"/> </linearGradient> <g style="fill:red; stroke:#000000"> <rect x="0" y="0" width="150" height="150"/> </g> <g style="fill:url('#fill1'); stroke:#000000"> <rect x="50" y="50" width="150" height="150"/> </g> </svg> FO FILE <?xml version="1.0" encoding="utf-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="simple" page-height="29.7cm" page-width="21cm" margin-top="1cm" margin-bottom="2cm" margin-left="2.5cm" margin-right="2.5cm"> <fo:region-body margin-top="3cm"/> <fo:region-before extent="3cm"/> <fo:region-after extent="1.5cm"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="simple"> <fo:flow flow-name="xsl-region-body"> <fo:block text-align="center">simple gradient</fo:block> <fo:block space-before.optimum="15pt"> <fo:external-graphic src="file:simple.svg"/> </fo:block> </fo:flow> <!-- closes the flow element--> </fo:page-sequence> <!-- closes the page-sequence --> </fo:root> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]