Hi LCID,
LCID Fire <[email protected]> wrote on 07/05/2010 12:23:31 PM:
> Is there any way to modify the path(s) Batik is searching for a linked
> css file? Currently it seems like it just searches the current directory
> (for a relative path).
There is no search path, it builds the path to the CSS file (when
a
relative path is given) by basing it on the documents URL[*]. This is the
required behavior for URL handling.
You might be able to extend the ParsedURL class with a custom
protocol that searches a path.
---
[*] If the document doesn't have a URL because you constructed
it in memory then it will likely look in the current directory.
You can provide the document with a base URL by calling
SVGOMDocument.setURLObject.