pygame   documentation
||  Home  ||  Help Contents  ||
 
|| pygame || cdrom || constants || display || draw || event ||
|| font || image || joystick || key || mixer || mixer_music ||
|| mouse || movie || surfarray || time || transform ||
 
|| CD || Channel || Clock || Font || Joystick || Movie ||
|| Rect || Sound || Surface ||
 
|| cursors || sprite || version ||

pygame.font

The font module allows for rendering TrueType fonts into a new Surface object. This module is optional and requires SDL_ttf as a dependency. You may want to check for pygame.font to import and initialize before attempting to use the module.
 
Most of the work done with fonts are done by using the actual Font objects. The module by itself only has routines to initialize the module and create Font objects with pygame.font.Font().
Font - create a new font object
get_init - get status of font module initialization
init - initialize the display module
quit - uninitialize the font module

Font
pygame.font.Font(file, size) -> Font
 
get_init
pygame.font.get_init() -> bool
 
init
pygame.font.init() -> None
 
quit
pygame.font.quit() -> none