You're not doing anything wrong. As far as I can tell images are not implemented in the SVG renderer. You'd have to finish that part yourself. See: http://cvs.apache.org/viewcvs.cgi/xml-fop/src/org/apache/fop/render/svg/SVGRenderer.java?hideattic=0&rev=1.3.2.9&only_with_tag=fop-0_20_2-maintain&view=markup
On 03.05.2005 05:40:11 Daniel Noll wrote: > I have the following FO code (reduced to fit well in the email): > > <fo:root ...> > <fo:layout-master-set> > ... > </fo:layout-master-set> > <fo:page-sequence ...> > <fo:flow ...> > <fo:block> > <fo:external-graphic src="url(embedded.gif)" > width="120px" height="120px" content-width="120px" content-height="120px"/> > </fo:block> > </fo:flow> > </fo:page-sequence> > </fo:root> > > When I use FOP to convert this to a PDF, it works perfectly. But when I > use the same files and convert it to an SVG, the image is missing. > > On inspection of the SVG file: > > <svg ...> > <g ...> > <rect width="595.0" x="0.0" height="842.0" y="0.0" > style="fill:none;stroke:black"/> > <a xlink:href="#svgView(viewBox(0, 0.0, 595, 842))" > xlink:type="simple" > xlink:actuate="onRequest" xlink:show="replace" > xmlns:xlink="http://www.w3.org/1999/xlink"> > <rect width="297.0" x="0.0" height="842.0" y="0.0" > style="fill:blue;visibility:hidden"/> > </a> > </g> > </svg> > > As you can probably see, the image isn't actually linked in the SVG file > at all, but replaced with some invisible blue block. > > Am I doing something wrong? This particular image is in GIF format, if > that matters. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
