I am using dc.getTextDimentions() to get the size of the font. But it returns the size of the font with margins. How do I find the string's measurements without the padding/margin?
I am using dc.getTextDimentions() to get the size of the font. But it returns the size of the font with margins. How do I find the string's measurements without the padding/margin?
The size includes the padding, often white space above and below. There's no way to get the size without that.