SVG export : XML code anomaly
(my specs don't matter for this issue)
I'm using Ai to make .svg files I'll animate live (making it react to midi and sound) using PureData and Processing.
So I have vectorized a picture of stained glasses and it gives me 3655 different path I have to export twice : once in only one .svg file for all paths [globalsvg] and once in one .svg file per path [pathssvg].
I'll then use Processing to analyse height, width, viewbox and d-commands in [globalsvg] to finally recreate the entire pattern by placing [pathssvg] on another plan thanks to some code lines. I spare you that part.
Now my problem :
I have compared the d-commands of a pathsvg and the ones of its twin from globalsvg and I'm noticing an offset between some Absolute-Coordinates. All the coordinates that bother me are related to the same value : y coordinate of the Transform-translate parameter.
Besides, you will certainly agree that this transform-translate should not even exist in the first place. Ai just decided to create paths far outside the viewbox to then translate those to their supposed original places. It works for -x axis but not for -y axis and it could really be bothering at some point.
I think it's an unnecessary waste of characters in the XML source-code.
My regards to whoever answer my problem. :)
Hello from Adobe,
Thanks for getting back to us to describe your issue. We have more questions on your issue. Do we understand it correctly that your main issue is that Illustrator does not transform the path directly for you and does not return - the already transformed - path segments?