gliffy / canvas2svg

Translates HTML5 Canvas draw commands to SVG
MIT License
683 stars 155 forks source link

canvas2svg.js:577 Attempted to apply path command to node text #52

Open satu0king opened 7 years ago

satu0king commented 7 years ago

Why does this error come anytime text is drawn

dduenker commented 6 years ago

You have to close the path, before you draw text. Try canvas.closePath(), that worked for me.