Svg fontweight fix

fix a bug in SVG backend when saving fonts with 'Bold' weight.
add a nose test.