ratishphilip/CompositionProToolkit

The Geometric parser is not working correctly

Closed this issue · 5 comments

To see this problem please create this svg file









Now create an application with Win2D and create same path. The image you get is not the same.
You write beautiful code (I can't write code like you do) and started to look your code and parsed my path and realized there is bug in your code. In this example you placed first 2 element and then third element is wrong. I experimented with many complex svg files and saw the output image is not correct.
Thank you for sharing code with me. Good luck
best regards
aghaDotKhanAtHotmailDotCom

Thanks for reporting this. Let me have a look.

@AghaKhan I had a look at the svg defined in example.pdf file.

It seems that there is an extra line break in the path data which is causing the issue. (after 1-, see image below)
svg_error

Closing this as the problem was with the svg data.