You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2002/11/13 23:17:22 UTC
DO NOT REPLY [Bug 14529] New: -
SVG url references do not work
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14529>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14529
SVG url references do not work
Summary: SVG url references do not work
Product: Fop
Version: 0.20.4
Platform: PC
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: svg
AssignedTo: fop-dev@xml.apache.org
ReportedBy: puffandtoot@cox.net
I'm trying to embed the following SVG into my XSL-FO and run it thru FOP.
Although the SVG looks fine using Adobe's SVG viewer, I get a black circle
from FOP in the CVS version. Apparently, it doesn't like the url() reference
to the <radialGradient>.
<svg width="3.5in" height="1in" viewBox="0 0 680 200"
xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none">
<g>
<defs>
<radialGradient id="PurpleToWhite" gradientUnits="objectBoundingBox"
cx=".5" cy=".5" r=".5">
<stop offset="5%" stop-color="white"/>
<stop offset="100%" stop-color="rgb(100,0,100)"/>
</radialGradient>
</defs>
<rect fill="black" stroke="black" x="0" y="0" width="680" height="200"/>
<circle r="80" cx="270" cy="100" fill="url(#PurpleToWhite)"/>
<text font-family="Times" font-size="135pt" x="213" y="160"
fill="white">D</text>
</g>
</svg>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org