d-path-parser icon indicating copy to clipboard operation
d-path-parser copied to clipboard

Parser lost zero point

Open RodionNikolaev opened this issue 6 years ago • 2 comments

<svg viewBox="0 0 2000 2000">
<path d="M0,0 H124.659 V71.565 H0 Z"/>
</svg>

Parser lost second horizontal point "H0" in the result array.

RodionNikolaev avatar May 13 '19 15:05 RodionNikolaev

I just noticed this too. It may make sense for h and v with value of 0, but not H and V. I'm working on a fix and will submit a PR soon

MxAshUp avatar Apr 24 '20 17:04 MxAshUp

PR made: #2

MxAshUp avatar Apr 24 '20 18:04 MxAshUp