Replies: 7 comments
-
Hello @gunta, That's interesting, I hadn't heard of resvg. Sure, let's tag this as an enhancement and do some experiments. |
Beta Was this translation helpful? Give feedback.
-
@lovell I know you've been battling some SVG issues, you might be interested. |
Beta Was this translation helpful? Give feedback.
-
I'm rather ambivalent on this as librsvg is under heavy (re)development at the moment and is in a much better place than it was a couple of years ago when resvg was started. It's worth noting that resvg:
|
Beta Was this translation helpful? Give feedback.
-
So the change its not happening yet, but definitely Raqote, being used in Servo has good potential.
Since neither library seems to aim for 100% full support, Since we will not have a clear winner anytime soon, I suggest to support both In my case I need to use the resvg goals
librsvg non-goals
|
Beta Was this translation helpful? Give feedback.
-
Ah, I hadn't realized it was not yet widely packaged, thanks Lovell. I think without an easy way to test and deploy, any new libvips code is likely to bitrot. Let's look at this again when resvg is packaged. |
Beta Was this translation helpful? Give feedback.
-
Here's a interesting RFC on Wikimedia regarding librsvg/resvg: https://phabricator.wikimedia.org/T40010. For wasm-vips, a resvg loader might also be useful, since librsvg is currently difficult to compile for WebAssembly because it requires many dependencies (see kleisauke/wasm-vips#4 (comment)). This is not a issue on the web, since you can use a canvas to render an SVG (live demo here), but for Node.js this won't work. |
Beta Was this translation helpful? Give feedback.
-
@gunta Unfortunately, looks like this new library is again depending on Rust. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/RazrFalcon/resvg
Why:
This would help close many svg related issues.
The table of support is here:
https://razrfalcon.github.io/resvg-test-suite/svg-support-table.html
Both library goals are different: librsvg is a GNOME library. librsvg is a cross-platform one with a multiple backend support.
Beta Was this translation helpful? Give feedback.
All reactions