canvg icon indicating copy to clipboard operation
canvg copied to clipboard

JavaScript SVG parser and renderer on Canvas

Results 162 canvg issues
Sort by recently updated
recently updated
newest added

_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...

imported

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. ![image](https://user-images.githubusercontent.com/10783941/41290327-25f0b728-6e7f-11e8-9432-d0524cbb52b1.png) 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: ![screen shot 2016-10-11 at 13 35 00](https://cloud.githubusercontent.com/assets/3993987/19268909/953e012e-8fb7-11e6-9484-793d037e7b98.png) 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...