shrhdk/text-to-svg

Remove text padding / trim

niftylettuce opened this issue · 0 comments

How can we remove padding around text? The <path> doesn't start at position 0,0, it is padded based off font, so if we specify fontSize: 20, for Arial and Verdana there will be two different heights to the SVG's.