I have some code I'm using to detect whether a given font supports a set of characters by rendering the character and checking its width. In the process I discovered width for a space character is 0. Can someone tell me why?
val pp = Paint()
val rr = Rect()
pp.getTextBounds(" ", 0, 1, rr)
"$rr"
> Rect(0, 0 - 0, 0)