|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
This assumes you have gotten SDL_ttf and installed it on your system. SDL_ttf has an INSTALL document in the source distribution to help you get it compiled and installed.
Generally, installation consists of:
SDL_ttf supports loading fonts from TrueType font files, normally ending in .ttf, though some .fon files are also valid for use. Note that most fonts are copyrighted, check the license on the font before you use and redistribute it.
Some free font sources are:
You may also want to look at some demonstration code which may be downloaded from:
2.1 Includes The include files to use for SDL_ttf 2.2 Compiling Using the SDL_ttf library and header file.