Previous: Sound, Up: API Reference [Contents][Index]
(use-modules (sdl2 ttf))
Initialize the TTF system.
Shut down and clean up the TTF system.
Load TTF font from file and return a new font object whose glyph size is point-size.
Delete the memory allocated for font.
Return the maximum height of font.
Render text, a UTF-8 encoded string, using font and color, the foreground color, and return a surface containing the results.
Render text, a UTF-8 encoded string, using font and color, the foreground color, and return a high-quality alpha-blended surface containing the results.