html2pdf icon indicating copy to clipboard operation
html2pdf copied to clipboard

In Draw/SVG tag, path is not able to draw arcs (bad interpretation of A in d)

Open wptechnology opened this issue 3 years ago • 0 comments

I tried to draw a filled arc, which result is definitely not what expected. The syntax used is : <path style="fill:#a52f6d;" d="M200,200 L200,104 A96,96 0 0,1 267.88225099390854,132.11774900609146 Z"></path> It should show something like this (in a barbie world where also stroke-dasharray should work) : Capture d’écran 2023-01-24 à 01 10 18 But the result is that : Capture d’écran 2023-01-24 à 01 11 10

wptechnology avatar Jan 24 '23 00:01 wptechnology