[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

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:

 
./configure
make
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 it.

Some free font sources are:

You may also want to look at some demonstration code which may be downloaded from:
http://www.jonatkins.org/SDL_ttf/

2.1 Includes  The include files to use for SDL_ttf
2.2 Compiling  Using the SDL_ttf library and header file.



This document was generated on November, 13 2009 using texi2html