Bug 14529 - SVG url references do not work
Summary: SVG url references do not work
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: svg (show other bugs)
Version: 0.20.4
Hardware: PC other
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-13 22:17 UTC by Scott Moore
Modified: 2012-04-01 06:45 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Moore 2002-11-13 22:17:20 UTC
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>
Comment 1 Jeremias Maerki 2002-11-14 14:40:54 UTC
Related thread: http://nagoya.apache.org/eyebrowse/BrowseList?listName=fop-
user@xml.apache.org&by=thread&from=274313
Comment 2 Jeremias Maerki 2008-11-01 09:19:35 UTC
Works fine in FOP 0.95.
Comment 3 Glenn Adams 2012-04-01 06:45:58 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed