libsdl-org/SDL_ttf

Support for TrueType (.ttf) font files with Simple Directmedia Layer.

745

stars

1,289

commits

C

primary language

Sep 3, 2026

updated

sdl2-ttf
sdl-ttf

README

SDL_ttf 3.0

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

The latest version of this library is available from GitHub: https://github.com/libsdl-org/SDL_ttf/releases

Installation instructions and a quick introduction is available in INSTALL.md

This library is distributed under the terms of the zlib license, available in LICENSE.txt.

This library also uses the following libraries:

Enjoy!

Sam Lantinga (slouken@libsdl.org)

Contributors

(top 30 of 63)

slouken

680 commits

sezero

175 commits

madebr

133 commits

1bsyl

115 commits

libsdl-org/SDL_ttf

Support for TrueType (.ttf) font files with Simple Directmedia Layer.

745

stars

1,289

commits

C

primary language

Sep 3, 2026

updated

sdl2-ttf
sdl-ttf

README

SDL_ttf 3.0

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

The latest version of this library is available from GitHub: https://github.com/libsdl-org/SDL_ttf/releases

Installation instructions and a quick introduction is available in INSTALL.md

This library is distributed under the terms of the zlib license, available in LICENSE.txt.

This library also uses the following libraries:

Enjoy!

Sam Lantinga (slouken@libsdl.org)

Contributors

(top 30 of 63)

slouken

680 commits

sezero

175 commits

madebr

133 commits

1bsyl

115 commits

Languages

C

89.2%

C++

5.7%

Perl

2.0%

Python

1.5%

CMake

1.4%