javascript - canvg fails on svg with xmlns -
i using canvg render following svg canvas fails. not sure why
<svg class="circularreferencesvg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <marker xmlns="http://www.w3.org/2000/svg" id="triangle" viewbox="0 0 10 10" refx="0" refy="5" markerunits="strokewidth" markerwidth="4" markerheight="4" orient="auto"> <path d="m 0 0 l 10 5 l 0 10 z" fill="#000000"></path> </marker> </svg> my guess has xmlns. not find on canvg webpage it. appreciated.
here screenshot of canvg seems fail here point , angle undefined
Comments
Post a Comment