SDL Wiki

SDL_ttf 2.0

The latest version of this library is available from GitHub.

This library is a wrapper around the FreeType and Harfbuzz libraries, allowing you to use TrueType fonts to render text in SDL applications.

Refer to CategoryAPI for a list of functions, and the examples showfont.c for documentation on this library.

Be careful when including fonts with your application, as many of them are copyrighted. The Microsoft fonts, for example, are not freely redistributable and even the free "web" fonts they provide are only redistributable in their special executable installer form (May 1998). There are plenty of freeware and shareware fonts available on the Internet though, and may suit your purposes.

This library is under the zlib license, see the file LICENSE.txt for details.

Portions of this software are copyright © 2013 The FreeType Project ( All rights reserved.

[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.