Add toSVG for Text object.