Fix svg font element and attributes.