Drop shadow filters made with Inkscape are not rendered properly
Drop shadow filters made with Inkscape (Filters > Shadows and Glows > Drop shadow...) are not rendered properly.
This is an example SVG and its code (optimized):
<svg width="48" height="48" version="1.1" xmlns="http://www.w3.org/2000/svg">
<defs>
<filter id="filter22" color-interpolation-filters="sRGB">
<feFlood flood-color="rgb(0,0,0)" flood-opacity=".5" result="flood"/>
<feComposite in="flood" in2="SourceGraphic" operator="in" result="composite1"/>
<feGaussianBlur in="composite1" result="blur" stdDeviation="2"/>
<feOffset dx="0" dy="2" result="offset"/>
<feComposite in="SourceGraphic" in2="offset" result="composite2"/>
</filter>
</defs>
<circle cx="24" cy="24" r="20" fill="#EA4335" filter="url(#filter22)"/>
</svg>
Expected SVG:
Actual SVG:
I'm using Librsvg 2.42.3 and Inkscape 0.92.3.
Just FYI, I remember that this was properly rendered in the older versions of Librsvg (maybe before being converted to Rust?).