Nested SVG layout is wrong
Legonaftik opened this issue · comments
Vova Pavlov commented
nested_svg.svg -> nested_svg.pdf
Expected to see 4 rectangles at all the edges like with other converters.
https://github.com/typst/svg2pdf#supported-features
Supported features explicitly include nested SVGs but I couldn't find any input example in tests.
Laurenz Stampfl commented
This is a bug in the resvg
library that svg2pdf
uses under the hood, see here.
Vova Pavlov commented
As I can see, the root cause is fixed and merged into resvg
master branch so this issue can be closed as soon as this project is updated to use the latest version of resvg
(usvg
). 👍
Vova Pavlov commented
I can confirm that usvg
0.30.0 fixes this issue, thanks to your contribution: RazrFalcon/resvg@0000508