I am writing a test program to load a svg file and use the <use> tag to reference that external resource, and show it in JSVGCanvas. The challenge comes when i must know the dimension of the svg file, so that i will set it in the <use> tag to make sure the scale of the referenced svg file is always 1:1. For some of the works this is possible because i can get the dimension by accessing the "width" and "height" attributes from the <svg> element, but NOT all svg documents has them set and in fact, these values also are not reliable values. So is there any other batik API i can take a look to get the true dimension of a svg file?

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to