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
whiteboard/xml package).
This patch simply sets the canvas size to the same size
as the rendered image.
Logged In: YES
user_id=88713
Ooops, forgot to attach patch, here it is.
Set SVG canvas size to image size