Menu

#3 Set SVG Canvas size

open
nobody
None
5
2005-01-01
2005-01-01
No

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.

Discussion

  • Ross Gardler

    Ross Gardler - 2005-01-01
    • summary: Set SCG Canvas size --> Set SVG Canvas size
     
  • Ross Gardler

    Ross Gardler - 2005-01-01

    Logged In: YES
    user_id=88713

    Ooops, forgot to attach patch, here it is.

     
  • Ross Gardler

    Ross Gardler - 2005-01-01

    Set SVG canvas size to image size

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.