You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Murad Sæter <mu...@firstmover.no> on 2002/06/04 10:06:29 UTC

SVG graphic box/size

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

Re: SVG graphic box/size

Posted by Keiron Liddle <ke...@aftexsw.com>.
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
>