|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
int TTF_FontHeight(const TTF_Font *font)
Get the maximum pixel height of all glyphs of the loaded font.
You may use this height for rendering text as close together vertically as possible,
though adding at least one pixel height to it will space it so they can't touch.
Remember that SDL_ttf doesn't handle multiline printing, so you are responsible for
line spacing, see the
TTF_FontLineSkip as well.
NOTE: Passing a NULL font into this function will cause a segfault.
Returns: The maximum pixel height of all glyphs in the font.