canvg
canvg copied to clipboard
JavaScript SVG parser and renderer on Canvas
_From [[email protected]](https://code.google.com/u/104354941978948609261/) on February 27, 2012 00:23:42_ What steps will reproduce the problem? 1. Layer 1 2. 3. What is the expected output? What do you see instead? Shape of...
Hello, if svg "filter" is referred from any "use" element, canvg produces "_element.getBoundingBox is not a function_" error, while parsing svg. Sample svg that allows to reproduce the issue: ```...
This jsfiddle shows the problem: https://jsfiddle.net/j2u9absf/ This jsfiddle ought to put the box around the svg marker. It doesn't because the x,y coordinates are being scaled by the scaling factor...
Hello. I try to convert simple svg file. You can find in my repository - on the left original svg - right - converted to canvas. Looks like patternTransform don't...
When I convert svg to canvas with Canvg, the path element is not shown.  I try to fix this bug, but I fail. I have been in this problem...
Hi Gabe, it seems like some of the mask rules are not getting applied. link to the svg with mask working : http://jsbin.com/caxipidiyu/edit?html,output link to generated canvas : http://jsfiddle.net/v27y8k8d/
call canvg(target, s, opt); if the 's' start with “blank“, it will cause ajax call. `var ctx = target.getContext('2d'); **if(s.substr){ s = s.replace(/(^\s_)|(\s_$)/g,''); }** if (typeof s.documentElement != 'undefined') {...
When I generate a PNG image, some details are not showed anymore: The original svg image:  The exported image: ![screen shot 2016-10-11 at...
When trying to parse a svg string to a canvas, it throws "Uncaught TypeError: Cannot read property 'split' of undefined" on the cssDef[0] and cssDef[1] variables.
When executing canvg on a page, the canvas gets shifted out of position and put into the wrong place. http://jsfiddle.net/difftech/f7e87oqb/1/ **Note**: For leaflet in this example, the option to disable...