Open victor-assis opened 1 year ago
Hi, thanks for the issue. The SVGFixer
constructor does not support single svg (raw) inputs. The first argument for the SVGFixer
must always be a path to a single svg file or a directory with multiple svg files, not the raw svg data. As of right now I do not see a good use case to support inputting one svg at a time, but if you have one please feel free to say it and if its good then we might add it.
I develop a plugin for figma, which converts vectors into fonts, but some of these vectors are in multiple fill, I would like to couple this solution to the plugin.
Plugin link: https://www.figma.com/community/plugin/1136442533698384554/Icon-font-generator
That's a really cool tool. Yeah I would be down to implement that but I do not have time to do it right now. Are you ok with making a PR that tries to implement this feature or you can wait? I would be 100% ok with helping you out if you need any help with it.
I'll fork and try to implement this feature, then I'll open a pr, thanks!
I would like to integrate this solution with another tool, and I would like to be able to pass the svg string, and receive the correct svg as a return, example:
would it be possible?