Had another go at compositing an SVG onto a plain pixbuf. This time with more success. Here's the outcome:
I read something in the online docs about edge pixels being repeated 'to infinity'. This might be what's going on in some of my earlier tests. It's not that there's a bug, I'm misinterpreting the results.