svgToPdf.js icon indicating copy to clipboard operation
svgToPdf.js copied to clipboard

depended on canvg/rgbcolor.js

Open sudo-ben opened this issue 10 years ago • 4 comments

Looks like this is depended on canvg/rgbcolor.js and the rgbcolor.js RGBColor class conflicts with the native RGBColor class

sudo-ben avatar Jun 19 '14 09:06 sudo-ben

This is an upstream issue with svg-edit, please refer to their project site!

cbix avatar Jun 19 '14 09:06 cbix

But is this library depended on svg-edit? That is what I'm curious about. If it is maybe a note should be added to the readme.

sudo-ben avatar Jun 19 '14 09:06 sudo-ben

And https://code.google.com/p/canvg/ being independed from svg-edit would make the dependency canvg

sudo-ben avatar Jun 19 '14 09:06 sudo-ben

Ah sure, stupid me, this is of course only relevant when svgToPdf.js is used with svg-edit (my main purpose for writing this)!

cbix avatar Jun 19 '14 09:06 cbix