Works fine here, except that I had to add the SVG namespace declaration. But I didn't get a black rectangle, but error messages in the log, without the namespace declaration.
On 07.10.2004 11:25:24 Daniel.Haynes wrote: > I am trying to get an SVG rendering in a PDF through FOP. I don't get > any errors but just get a black box on the resulting PDF where the > image should be. Does anybody know what I am missing ? > > > <fo:block> > <fo:instream-foreign-object> > <svg width="200px" height="250px"> <svg width="200px" height="250px" xmlns="http://www.w3.org/2000/svg"> > <g id="bar" transform="translate(0,200)"> > <text x="32.5" y="0" > style="font-family:arial;text-anchor:middle;baseline-shift:-15;">01</text> > <rect x="25" y="-106.5" height="106.5" width="15" > style="fill:rgb(255,100,75);"/> > <text x="57.5" y="0" > style="font-family:arial;text-anchor:middle;baseline-shift:-15;">02</text> > <rect x="50" y="-133.5" height="133.5" width="15" style="fill:rgb(0,225,0);"/> > <text x="82.5" y="0" > style="font-family:arial;text-anchor:middle;baseline-shift:-15;">03</text> > <rect x="75" y="-34.5" height="34.5" width="15" > style="fill:rgb(75,100,245);"/> > <text x="107.5" y="0" > style="font-family:arial;text-anchor:middle;baseline-shift:-15;">04</text> > <rect x="100" y="-162" height="162" width="15" > style="fill:rgb(200,200,200);"/> > <text x="132.5" y="0" > style="font-family:arial;text-anchor:middle;baseline-shift:-15;">05</text> > <rect x="125" y="-139.5" height="139.5" width="15" > style="fill:rgb(245,245,25);"/></g> > </svg> > </fo:instream-foreign-object> > </fo:block> > > thanks > > using FOP 0.20.5 with Batik Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]