How does the font size work in sprite fonts in C# XNA? For example maybe font size 10 is drawn from the top to bottom of a lowercase charecter by default 10 pixels tall when output with SpriteBatch’s drawString. I’ve noted that some charecters are much wider or taller than most, extending a considrable distance downwards or to the right of a normal charecter.
Share
I believe it depends on the font. You can use
SpriteFont.MeasureStringto determine the rendered dimensions of text.