
On 18/8/10 11:25, Alexander Roalter wrote:
On 18.08.2010 10:40, Jasper van de Gronde wrote:
I'm assuming you are aware of "vacuum defs"? If it fails to work, please file a bug report.
I'm aware of that function, and the defs were only one point in this list. I usually do a clean up in the xml editor.
stroke-linecap, linejoin etc. declarations that only set the default value but clog up the file.
Yes, in general Inkscape needs to take those things into account more, if you have some specific examples we'd love to have a bug report for those. But realize that sometimes there is a fine line, in some cases "optimizing" our SVG may in fact be counterproductive in that it yields modest gains in file size and such but does obscure the SVG.
What mostly bothers me is this behavior: I draw an object, and once I switch the opacity to check with the things that are below it (to do some tracing), and later go back to 100% opacity, inkscape keeps the opacity:1, without needing it. Same is valid for other options. If coordinates are rewritten dynamically between absolute/relative, I assume the other settings could also be reviewed when changes occur, if they are needed or not.
Bug #171983 “Reduce SVG file size by removing unnecessary attributes” https://bugs.launchpad.net/inkscape/+bug/171983
~suv