Wednesday, 19 June 2019

Android Monospace doesn't behave as a fixed-pitch

As you can see in the screenshot below the two different strings with the same length not drawn with the same width on the canvas. I'm using a monospaced typeface, so isn't it promised to be drawn with the same width? Is that because of the kerning?

Typeface.create(Typeface.MONOSPACE,Typeface.NORMAL)

enter image description here



from Android Monospace doesn't behave as a fixed-pitch

No comments:

Post a Comment