Open vicctor opened 11 years ago
Above commit fixes the problem and it looks like the clef SVG is parsed correctly. But because I'm new with the SVG specification, I'm not really sure if the current approach good at all. I will place some comments in source tree to let discuss the meaning of the code.
@pents90 I'm wondering what is the big case in line 213 (see commit above) good for? SVG spec does not say anything about these chars in the transform element. The list of number shall ends with ) always. Is this a workaround for some special-undocumented feature?
I realised today that the clef.svg image is not rendered even with my fix.
I noticed such problem when parsing this file: https://commons.wikimedia.org/wiki/File:G-clef.svg
The library is unable to parse numbers like 2.00e-1