July 31, 2015
8:16 p.m.
On Fri, Jul 31, 2015 at 10:10 PM, François Stephany < tulipe.moutarde@gmail.com> wrote:
Yep, you're right the path parser doesnt not conform with the spec. From Section 8.3.2 of http://www.w3.org/TR/SVG/paths.html#PathDataMovetoCommands
If a moveto is followed by multiple pairs of coordinates, the subsequent
pairs are treated as implicit lineto commands.
Thanks for the pointer :) If you have any idea on how to output those explicit "l", I'm all ears...
Well I just took your string and replaced all spaces except for the first and last with ' l ' :-D yourString copyReplaceAll: ' ' with ' l '. Peter