Title: Messaggio

>>From two weeks, in our application JSVGCanvas doesn't resize correctly

> to svg dimension the first time, but when we reload yes.

>

> Squiggle doesn't seem to have the same problem. Have you changed

> something that could create this problem?

I suspect this is due to my consolidating the canvas sizing code from several places into 'setGraphicsNode'. This also had the advantage of sizing the canvas after 'onload' so changes to the root SVG's width/height in onload would be reflected.

It is unclear to me why this would effect your application however.

Header from the CVS commit so you can check what changed.

deweese 2003/11/05 14:21:10

Modified: sources/org/apache/batik/bridge SVGSVGElementBridge.java

SVGUseElementBridge.java UpdateManager.java

sources/org/apache/batik/gvt/filter BackgroundRable8Bit.java

sources/org/apache/batik/swing/svg JSVGComponent.java

sources/org/apache/batik/util DoublyLinkedList.java

RunnableQueue.java

Log:

1) Fixed memory leak when 'use'd content changes.

2) More Race condition work

3) JSVGCanvas now delays setting Canvas side until after onload event if any.

Reply via email to