[BZ#762919] Incorrect parsing of stroke-dasharray properties
Submitted by Massimo
g_strsplit (.., ",", ..,) is used to parse dash arrays, but the spec says:
contains a list of comma and/or white space separated s and s that specify the lengths of alternating dashes and gaps
So using g_strsplit_set and passing also the white spaces as delimiters allows to render the file painting-control-02-f.svg from the svg1.1 test suite better.
If, while counting the #dashes:
the empty strings that g_strsplit_set generates when it finds multiple delimiter sequences are swapped to the end of the string array and then ignored also the file painting-stroke-09-t.svg is rendered better.