Re: errors in viewing svg file. help needed
Helder Magalhães <[email protected]>
| Newsgroups | gmane.text.xml.batik.user |
|---|---|
| Message-ID | <CAPODfC4SET_U-6j1ChjRmKzj6eabq=5+D_DQMOGb2iojX5bgrA@mail.gmail.com> |
Hi wolnic,
> Any suggestions why the image don't work with batik 1.7 ?
I tried with Batik 1.8 trunk version and here are some hints:
* attempt to prototype things is apparently confusing Rhino
(Javascript engine);
* window.* methods (like innerWidth/Height) are not supported and
therefore lead to NaN;
* "inherited" is not a valid value for visibility (found twice,
should be "inherit");
* SVGRoot.style.cursor = "move" doesn't work, although
SVGRoot.setAttribute("style", "cursor:move") is equivalent and works.
You can have further feedback by taking a look at the Java console or
by running Batik from the console.
> Thanks.
Hope this helps,
Helder