Extracting individual icon yields incorrect results
This comes from https://gitlab.gnome.org/GNOME/gnome-user-docs/-/tree/3c30af74/gnome-help - see the
topbar-icons.svg (a sheet of icons) and
topbar-icons.sh (a script to extract each icon to an individual SVG).
rsvg-convert -o classic-topbar-microphone-sensitivity-low.svg -f svg -i classic-topbar-microphone-sensitivity-low topbar-icons.svg produces different results on the librsvg-2.50 branch and in master, both wrong:
librsvg-2.50 - image at the correct size (28x28), missing the upside-down gray U part at the top of the microphone. It's there in the SVG, but with some weird masking/filtering that make it invisible. Whole image is offset to y=1. Rendering with
-f pngproduces the correct result.
master - image at incorrect size (7.4x7.4, maybe it's using viewBox coordinates (kinda as it should) instead of scaling them to the SVG width/height?). Also missing the upside-down gray U, but this time I don't even think it's in the file. Rendering with
-f png -w 28 -h 28to scale it up omits the upside-down U.