SDL_ttf Documentation

This is the documentation for SDL_ttf.

SDL_ttf is a TrueType font rendering library that is used with the SDL library, and almost as portable. It depends on freetype2 to handle the TrueType font data. It allows a programmer to use multiple TrueType fonts without having to code a font rendering routine themselves. With the power of outline fonts and antialiasing, high quality text output can be obtained without much effort.

SDL_ttf is available at or more specifically The SDL_ttf homepage

All suggestions and corrections are welcome, email


The Docs

  • Framed (HTML)
  • One page (HTML)
  • Tar Gzipped HTML Docs 64K
  • Zipped HTML Docs 180K
  • Acrobat PDF 380K
  • Gzipped Postcript 168K
  • Tar Gzipped GNU Info 20K
  • Gzipped GNU texinfo (source) 16K

    The Demonstration code

  • Browse
  • SDL_ttf_demos.tar.gz 1.2M
  • 1.2M

    Anonymous CVS access

    	cvs -d login
    press enter at the password prompt, there's no password
    	cvs -z6 -d co SDL_ttf-docs
    and later, to get any updates...
    	cvs -z6 update -dP