cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Questions re using SVG in Cocoon
Date Sun, 30 Jul 2006 22:31:55 GMT
On 31.07.2006 00:14, hepabolu wrote:

> Problem:
> 
> I want to display a line drawing that is created based on a few 
> parameters. This should ultimately be printed on an A4.
> 
> - the final jpg image only holds a part of the SVG image. I can't figure 
> out how to make the image large enough to hold the entire SVG image. 
> I've set the height and width parameters in the serializer definition at 
> the top of the sitemap, but although I've set them to e.g. 800 x 800, 
> the final image is smaller (e.g. 754 x 754). What I really want is to 
> set it to an A4 size.

Does setting the size on the serializer has any influence? I did not 
know these settings.

In theory the size must be set in the SVG itself (on the root element). 
I have done already much with SVG-generated images and never had such 
problems, but it was also some time ago ...

Jörg

Mime
View raw message