xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Murad Sæter <mu...@firstmover.no>
Subject RE: SVG graphic box/size
Date Tue, 04 Jun 2002 09:33:24 GMT
Thanks, but I can't quite understand :)

I get the same portion of the image without width/height and content-width/height attributes.
How do I set the width and height on the svg itself? The svg looks fine in internet explorer.
Do I have to edit the svg? It is produced fra a awt.image to svg with batik.

-----Original Message-----
From: Keiron Liddle [mailto:keiron@aftexsw.com] 
Sent: 4. juni 2002 10:50
To: fop-user@xml.apache.org
Subject: Re: SVG graphic box/size

It is something to do with the width and height that you are setting on the svg through the
content width and height. This is creating a view of only the corner of the image. Try setting
the width and height on the svg itself.

On Tue, 2002-06-04 at 10:06, Murad Sæter wrote:
> Hi,
> I'm making a small report with xml, xsl and svg-file.
> I've put the files on http://www.stud.ntnu.no/~sater/xml.
> When I generate the pdf with FOP, the svg-image is cut to
> a small box. This is probably a problem with med xsl-file, but as a 
> xsl-newbie I can't see it.
> When I look at the file with Antenna House XSL Formatter it looks 
> fine.
> Could someone please give me a hint?
> Thanks,
> Murad Sæter

View raw message