SDL_ttf
iii. Attributes
These functions deal with TTF_Font, and global, attributes.
- Global Attributes
TTF_ByteSwappedUNICODE - Set default UNICODE byte swapping mode
- Font Style
TTF_GetFontStyle - Get font render style
TTF_SetFontStyle - Set font render style
- Font Metrics
TTF_FontHeight - Get font max height
TTF_FontAscent - Get font max ascent (y above origin)
TTF_FontDescent - Get font min descent (y below origin)
TTF_FontLineSkip - Get font recommended line spacing
- Face Attributes
TTF_FontFaces - Get the number of faces in a font
TTF_FontFaceIsFixedWidth - Get whether font is monospaced or not
TTF_FontFaceFamilyName - Get current font face family name string
TTF_FontFaceStyleName - Get current font face style name string
- Glyph Metrics
TTF_GlyphMetrics - Get individual font glyph metrics
- Text Metrics
TTF_SizeText - Get size of LATIN1 text string as would be rendered
TTF_SizeUTF8 - Get size of UTF8 text string as would be rendered
TTF_SizeUNICODE - Get size of UNICODE text string as would be rendered
