
On 08/17/2010 09:24 PM, Jasper van de Gronde wrote:
Alexander Roalter wrote:
... And last, how does one make a distinction (and possibly convert) a path with absolute coordinates (uppercase M at the beginning of the path) to a path with relative coordinates (lowercase m)? I think this should be as easy as changing the path's direction
Can you explain why you would need to? Currently it is treated simply as a different representation of the same path and Inkscape chooses the representation dynamically to optimize the size of the path data (which can drastically reduce file size).
It's more a matter of cleaning up the SVG. if I look through it, I see lots of things not needed in there, for unused defs to opacity, stroke-linecap, linejoin etc. declarations that only set the default value but clog up the file. In addition to be able to dynamically switching between relative/absolute coordinates, there should be a possibility to clean up the svg in a way, say loose unneeded declarations, apply transformations where possible, and even lower the precision on some cases/round to some extent.