Hi,
I’ve found what seems like an issue in the SVG parser on windows, Im not very knowlagable about SVGs or how they are interpreted by juce, so I’m sorry that I cant recomend a fix but im sure someone around here will know whats going on.
The below svg code works fine (fills a simple shape) on Mac but fails on Windows - a fix for me was to alter the file and add a “z” at the end of the <path …> section to close it, I imagine that there should be an auto close happening in code if the path is filled or something.
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="10px" height="16px" viewBox="0 0 10 16" enable-background="new 0 0 10 16" xml:space="preserve">
<path fill="#F9422A" d="M0,0h10C7.088,1.342,5.865,5.479,5.505,8.353c-0.283,2.26-0.176,3.894-1.801,5.676
C2.922,14.888,1.693,16.065,0,15.997"/>
</svg>