I have an issue with displaying large svg files. What do I have to check that an svg file is displayed?
When I
graphics = tove.newGraphics(svgData, 200)
-> Does this scale every size to 200px on the canvas?
I exported a png file with a procedurally generated town.
In gimp I created paths by selecting colors nad exported them to svg.
In Inkscape I exploded the paths and put them into the groups.
I did export the svg file as plain svg.
I didn’t saw the file in Inkscape, but I think 312kB is really big for svg. Aren’t there many unnecesarry nodes (very likely when using exported paths from png)? Try to simplify it with Inkscape’s path simplify (or how it’s called) or use some kind of online svg minimizers to simplify paths a bit.
Yes the file is relatively large, but that was not the issue.
The filling was not set, so it was "black" and not visible. When changing/setting fill to "white" the content was visible.