When generating SVG the canvas size should be set in
the root element of the SVG document, otherwise some
rendering engines will crop the image (this behaviour
is exhibited by the Cocoon transformer in the
This patch simply sets the canvas size to the same size
as the rendered image.
Log in to post a comment.