You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Simon Mieth <si...@gmx.de> on 2004/11/04 21:48:17 UTC

[PATCH] SVGAbstractTranscoder doesn't recognize dimension changes on SVG-ROOT

Hi all,

the currrent Transcoder doesn't recognize changes of the dimension on
the SVG-Root element by a script (invoked by -onload). Changes on other
elements are generated fine. This problem was described by other user on
the user-list [1].

The patch is quite simple, it invoke the script before the dimension
(height and width) are read from the document. 
The current implementation invokes the script after the dimension are
set to the result image.

Best Regrads,
Simon




[1]
http://mail-archives.apache.org/eyebrowse/ReadMsg?listName=batik-users@xml.apache.org&msgNo=3482

Re: [PATCH] SVGAbstractTranscoder doesn't recognize dimension changes on SVG-ROOT

Posted by Thomas DeWeese <Th...@Kodak.com>.
Hi Simon,

Simon Mieth wrote:

> the currrent Transcoder doesn't recognize changes of the dimension on
> the SVG-Root element by a script (invoked by -onload). Changes on other
> elements are generated fine. This problem was described by other user on
> the user-list [1].

    This is now fixed in CVS.  It's interesting, I didn't understand
that he was making his changes 'onload', I thought he was rasterizing
something from the canvas.

    Thanks for pointing this out!


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org