Would you like to help fix a couple of bugs in librsvg, in preparation for the 2.42.1 release?
I have prepared a list of bugs which I'd like to be fixed in the 2.42.1 milestone. Two of them are assigned to myself, as I'm already working on them.
There are two other bugs which I'd love someone to look at. Neither of these requires deep knowledge of librsvg, just some debugging and code-writing:
-
Bug 141 - GNOME's thumbnailing machinery creates an icon which has the wrong fill: it's an image of a builder's trowel, and the inside is filled black instead of with a nice gradient. This is the only place in librsvg where a
cairo_surface_t
is converted to aGdkPixbuf
; this involves unpremultiplying the alpha channel. Maybe the relevant function is buggy? -
Bug 136: The
stroke-dasharray
attribute in SVG elements is parsed incorrectly. It is a list of CSS length values, separated by commas or spaces. Currently librsvg uses a shitty parser based ong_strsplit()
only for commas; it doesn't allow just a space-separated list. Then, it usesg_ascii_strtod()
to parse plain numbers; it doesn't support CSS lengths generically. This parser needs to be rewritten in Rust; we already have machinery there to parse CSS length values properly.
Feel free to contact me by mail, or write something in the bugs themselves, if you would like to work on them. I'll happily guide you through the code :)