SDL_ttf 2.0

SDL_ttf for SDL 1.2
   Sam Lantinga

   Available on this site.


Mercurial Repository:

Runtime Binaries:
   Windows (32-bit Windows) (64-bit Windows)
   Mac OS X
      Please contact your distribution maintainer for updates.

Development Libraries:
   Windows (Visual C++ 32/64-bit)
      SDL2_ttf-devel-2.0.15-mingw.tar.gz (MinGW 32/64-bit)
   Mac OS X
      Please contact your distribution maintainer for updates.
   iOS & Android
      Projects for these platforms are included with the source.

   The latest stable release of SDL 2.0

Runs on:
   All platforms supported by SDL

   This is a sample library which allows you to use TrueType fonts in your SDL applications. It comes with an example program "showfont" which displays an example string for a given TrueType font file.

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

   Unpack and build. Run "showfont fontfile" to display a font using the library.


 * Updated to FreeType version 2.9.1
 * Text rendering functions now use the alpha component of the text colors
 * Added support for characters greater than 0xFFFF (e.g. emoji) in the UTF-8 APIs

 * Deprecated TTF_GetFontKerningSize() which takes font glyph indices and added TTF_GetFontKerningSizeGlyphs() which takes characters

 * Fixed bug rendering text starting with a glyph with negative starting offset
 * Fixed regression loading non-scalable fonts
 * TTF_GetFontKerningSize() gets kerning between two characters, not two glyph indices
 * Added support for building for Windows RT and Windows Phone

 * Updated for SDL 2.0 release

 * SDL_ttf is now under the zlib license
 * SDL_ttf binaries have been built with the following libraries:
   FreeType 2.4.8
 * SDL_ttf framework on OSX is built for Intel 10.5 and newer,
   PowerPC binaries can be built by modifying the Xcode project
 * Improved font glyph caching for non-latin languages
 * Added API to get kerning info: TTF_GetFontKerningSize()
 * Added to build on the Android platform

Due to changes in the FreeType renderer, you may want to adjust the font
hinting to get the best quality for your fonts, e.g.
    TTF_SetFontHinting(font, TTF_HINTING_LIGHT);

Thanks to these people and many others for their help on this release:
 Erik Snoek, Peter Kosyh