2. Getting Started

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:

make install

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.

Some free font sources are:

You may also want to look at some demonstration code which may be downloaded from:

  1. Includes The include files to use for SDL_ttf

  2. Compiling Using the SDL_ttf library and header file.

Getting_Started (last edited 2008-04-17 08:18:54 by localhost)