I somehow missed this until now, maybe because I mostly develop on Windows. But I found a bug drawing SVG files with gradients that only appears to affect Mac (I haven’t tried mobile or Linux, and I’m not developing for those).
The bug occurs in my program, but also in the Juce demo app. I just grabbed the latest from GitHub, and the problem is still there. Take a look at the screenshot below. I think the problems are obvious - gradients get cut off and go transparent for some reason.
I could provide my SVG file, but it happens in the Juce demo so everybody already has a set of files that don’t draw correctly on Mac.
Any ideas why gradients would draw correctly on Windows and not Mac? I don’t know how the drawing code works when it hits platform-specific land.