- uninitialize the font module | |
- initialize the display module | |
- get status of font module initialization | |
- average height of font glyph | |
- gets the font descent | |
- gets the font ascent | |
- gets the font recommended linesize | |
- status of the bold attribute | |
- assign the bold attribute | |
- status of the italic attribute | |
- assign the italic attribute | |
- status of the underline attribute | |
- assign the underline attribute | |
- -> Surface | |
- size of rendered text | |
- create a new font object |
pygame.font.get_init() -> bool
Returns true if the font module is currently
intialized.
Font.get_height() -> int
Returns the average size of each glyph in the
font.
Font.get_bold() -> bool
Get the current status of the font's bold
attribute
get_bold() -> bool
Get the current status of the font's italic
attribute
Font.set_italic(bool) -> None
Enables or disables the italic attribute for the
font.
Font.get_underline() -> bool
Get the current status of the font's underline
attribute
Font.set_underline(bool) -> None
Enables or disables the underline attribute for
the font.