nanosvg
nanosvg copied to clipboard
Solved issue 167. Bug: complex path rendered wrong
https://github.com/memononen/nanosvg/issues/167 complex path rendered wrong
Root cause: In the case of some compressed svgs, in the curve command("a/A"), parameters 3\4 may be merged.
Check out the grammar: https://www.w3.org/TR/SVG/paths.html#PathDataBNF
- there can be any number of
elliptical_arc_argumentafter the 'A/a' - the
flags are in positions 4 and 5, modulo 6 within theelliptical_arc_argument
Check out the grammar: https://www.w3.org/TR/SVG/paths.html#PathDataBNF
- there can be any number of
elliptical_arc_argumentafter the 'A/a'- the
flags are in positions 4 and 5, modulo 6 within theelliptical_arc_argument
yes. I wrong. the flags are in positions 4 and 5, positions 3 is "x-axis-rotation"
Thank you for the fix!