Problem with SVG backend and masks
I'm not quite sure what is going on here, but repro.c draws something to an SVG surface. This program creates four images, two SVG surfaces with SVG version 1.1 and 1.2, and the result of cairo_surface_write_to_png
of these surfaces.
Both PNGs look as expected:
In the 1.1 SVG file, a mask
operation was applied incorrectly:
In the 1.2 SVG file the order of operations seems to be wrong: The SVG file first contains a blue fill and then a red fill. However, swapping these two lines does not fix things, so I am not sure what is going on exactly.