svg path parser

Hi, I just modified the SVG path parser, and I added 2 function for trim additionally. 
Yeah, I know you have already solve the crash of loading svg with path by changing the call of trim in minutes before...

But I solve in another way, in the trim function it self. 
- - - 
Particularly, as I am not a strong C/C++, I leave original code in place (the svg-path block).
And, I force to show the svg stroke into "black" if its color was "none".

:D