[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: SVG in Docbook XML to PDF gives strange results
Hi all, I am trying to figure out how to include SVG in my docbook XML 4.2 documents. When I use the example from Bob Stayton's XSL book with a file called circle.svg: <?xml version="1.0"?> <svg xmlns="http://www.w3.org/2000/svg"> <g style="fill-opacity:0.7; stroke:black; stroke-width:0.1cm;"> <circle cx="6cm" cy="2cm" r="100" style="fill:red;" transform="translate(0,50)" /> <circle cx="6cm" cy="2cm" r="100" style="fill:blue;" transform="translate(70,150)" /> <circle cx="6cm" cy="2cm" r="100" style="fill:green;" transform="translate(-70,150)"/> </g> </svg> Which is include in my docbook document as: <...> <sect1><title>Part1, Chapter 1, Section1</title> <para> Hello there! </para> <mediaobject id="MousePicture"> <imageobject> <imagedata format="SVG" fileref="circle.svg"/> </imageobject> </mediaobject> </sect1> <...> All I get at the location of the image is the upper left quarter of a red oval. I use fop-0.20.5, jimi-1.0.jar en the Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06) by Sun. Anyone got an idea where my problem is? Thanks, Maarten Sanders
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]