Re: [svg-developers] Re: getBBox() error

2006-02-17 Thread thomas . deweese
Hi Rodolfo, The problem is that their is no way to evaluate the bbox of the text in the symbol. First off the symbol isn't in the rendering tree (so has no geometry info), second even if you tried to ignore this you would have to deal with the fact that when the symbol is used the used inst

Re: [svg-developers] Re: getBBox() error

2006-02-17 Thread RODOLFO MORENO LLACZA
Hi Holger and Robert: Let me say you that the two ways I wrote initially don't work in ASV neither in FF 1.5. About the getBBox() function. It is implemented in both (in ASV and FF), because I tried with simple examples and work well in both. However I can't solve my issue, yet. please

Re: [svg-developers] Re: getBBox() error

2006-02-17 Thread Holger Will
Hi Rob afaik, getBBox() is implemented in firefox 1.5, but it does not work onload, see bug https://bugzilla.mozilla.org/show_bug.cgi?id=293581 you can get around this restriction by calling your function with setInterval("funcWithgetBBoxCall()",100). cheers Holger Robert Russell schrieb:

[svg-developers] Re: getBBox() error

2006-02-17 Thread Robert Russell
In the first way, is "Unexpected Exception" the entire text of the error? Assuming this is in Firefox, there's usually more detail than that. If there's not, then try splitting that line across multiple lines of code to see which step causes the exception. I did a little test in Firefox to see if