Quote
I'm wrestling with Batik and inkscape at the moment
Just an advice then, in Inkscape, always use "Save as", and select "SVG (Plain)" as format and not the inkscape svg. Inkscape will complain about loss of information, but these information would not be readable by Batik.Quote
An interesting thing i saw KevGlass do in Slick2D is use java's default XML reader to read the SVG files as Strings.
Well, I used Batik because I don't want to parse SVG myself and call the drawing primitives accordingly. I'm way too lazy.Quote
But I guess that because you're rendering the SVG files to images on-the-fly you need batik's rasteriser and therefore all of the jars.
Indeed, but why the hell do I have to include "pdf-transcoder.jar" to my classpath for rasterization
?? 
Caching the images would imply to select a set of available resolutions, and I want to be as system-agnostic as possible. Wanna play fullscreen on a 768*1024 screen ? possible. Wanna play on a 2K*2K ? possible. I use a fixed set of resolutions for Windowed mode (only 16:9 resolutions), but for fullscreen, I get the available modes directly from the system.
However, downloading the sources of Batik and importing it as an eclipse project would enable me to use the Fatjar addon that will crawl in the code, and create a single jar with all used classes. If batik uses Class.forName(), then I'm doomed.






