resvg
resvg copied to clipboard
An SVG rendering library.
Same file as in https://github.com/RazrFalcon/resvg/issues/268
When I try to open a malicious SVG that is created using nested references it hangs the application. The sample test case is at https://unshorn.github.io/foo.svg Other samples are: https://unshorn.github.io/nested-pattern-crash.svg https://unshorn.github.io/deep.svg
https://commons.wikimedia.org/wiki/File:Subglacial_Eruption-numbers.svg |rsvg|resvg| |---|---| |![Subglacial Eruption-numbers_r](https://user-images.githubusercontent.com/15687581/75075817-f231d580-54fe-11ea-8437-ede8352cd398.png)|![Subglacial Eruption-numbers_re](https://user-images.githubusercontent.com/15687581/75075831-f827b680-54fe-11ea-8cad-82a46b421148.png)| The stone labeled with 6 are higher in rsvg than in resvg maybe nummeric issues? (don't know which one is correct) PS same for...
Title is self-explanatory: the ability to add a stylesheet when rendering an SVG without needing to modify the XML input.
Currently, marker resolver copies the original element id to all copies, which is incorrect.
I just tested a pretty useless SVG (embedding a completely white png) ### svg ```xml ``` [svg](https://gitlab.com/inkscape/inbox/uploads/847e2fe6a09a1eb99f2d72d2065b0a0d/2021-05-12S4OcsxCcOscs.svg) ![svg](https://gitlab.com/inkscape/inbox/uploads/847e2fe6a09a1eb99f2d72d2065b0a0d/2021-05-12S4OcsxCcOscs.svg) ### png |resvg|librsvg 2.48.9|Inkscape|batik |---|---|---|---| |wrong (fully transparent)|wrong (fully transparent)|correct (left upper...
[SVG Gradient.svg.txt](https://github.com/RazrFalcon/resvg/files/4263678/SVG.Gradient.svg.txt) |ink|resvg| |--|--| |![SVG Gradient](https://user-images.githubusercontent.com/15687581/75479637-25151700-59a0-11ea-8492-4722660923e9.png)|![SVG Gradient_re](https://user-images.githubusercontent.com/15687581/75479641-25adad80-59a0-11ea-989c-8424dec1318e.png)| source https://commons.wikimedia.org/wiki/File:SVG_Gradient.svg author Glrx license https://creativecommons.org/publicdomain/zero/1.0/deed.de
https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight#fallback_weights
Consider the following file: ```svg ``` The results are: | resvg | rsvg, Chrome | | - | - | | ![re](https://user-images.githubusercontent.com/7559560/116870393-2fbde280-ac1b-11eb-915d-081bd0d5fbc4.png) | ![r](https://user-images.githubusercontent.com/7559560/116870407-351b2d00-ac1b-11eb-918f-79fead5378f7.png) | The problem is that the...
Consider the following file: ```svg ``` The results are: | resvg | rsvg | Chrome, Inkscape | | - | - | - | | ![re](https://user-images.githubusercontent.com/7559560/116814649-a77c0680-ab62-11eb-9c44-6dbcb9537719.png) | ![r](https://user-images.githubusercontent.com/7559560/116814654-acd95100-ab62-11eb-817a-f79527dd4833.png) | ![ink](https://user-images.githubusercontent.com/7559560/116814795-2cffb680-ab63-11eb-916e-cdd5fd1c7d84.png)...