Support for TrueType (.ttf) font files with Simple Directmedia Layer.
  • C 89.2%
  • C++ 5.7%
  • Perl 2%
  • Python 1.5%
  • CMake 1.4%
  • Other 0.1%
Find a file
Tyler Winters 2eabf8bcdf fix VixualC project link error
LINK : fatal error LNK1181: cannot open input file 'SDL3.lib'

need to add Library Directory: `$(SolutionDir)$(PlatformName)\$(Configuration)`

For reference the SDL_image and SDL_mixer vcxproj already have this directory and didn't have this link error.
2026-04-26 07:35:53 -07:00
.github ci: fix genexports typo 2025-11-17 21:07:34 +01:00
build-scripts Update SDL_migration.cocci 2026-04-26 07:34:00 -07:00
cmake cmake: fix typo in Findplutovg.cmake 2026-01-17 19:43:50 +01:00
docs Update README-migration.md 2026-04-26 07:33:18 -07:00
examples Updated copyright for 2026 2026-01-01 11:28:09 -08:00
external update vendored plutosvg 2026-04-17 17:03:10 +03:00
include/SDL3_ttf Updated copyright for 2026 2026-01-01 11:28:09 -08:00
mingw/pkg-support/cmake cmake updates for SDL3 2023-01-07 13:49:57 +01:00
src Return the errors from GetWrappedLines in LayoutText instead of ignoring them 2026-04-23 07:41:31 -10:00
VisualC fix VixualC project link error 2026-04-26 07:35:53 -07:00
Xcode Create dSYM debug information for release builds in Xcode 2026-03-15 02:06:33 -07:00
.clang-format Added .editorconfig and .clang-format for SDL_ttf 2023-07-03 07:30:01 -07:00
.editorconfig Added .editorconfig and .clang-format for SDL_ttf 2023-07-03 07:30:01 -07:00
.gitignore dont .gitignore build-scripts/ 2025-12-20 14:40:10 +03:00
.gitmodules upgrade vendored freetype to 2.13.3 2025-05-28 14:01:04 +03:00
.wikiheaders-options .wikiheaders-options: Make sure we pick up the SDL_TTF_* version macros. 2025-07-24 12:50:03 -04:00
Android.mk Revert "android: support Google Play 16 kiB page size requirement" 2025-08-07 11:35:07 -07:00
CHANGES.txt Added a patch note for TTF_GetFontWeight() 2025-03-31 10:57:13 -07:00
CMakeLists.txt cmake+xcode: add exports file for Apple 2025-11-17 20:00:16 +01:00
INSTALL.md Updated package documentation 2025-01-23 11:01:26 -08:00
LICENSE.txt Updated copyright for 2026 2026-01-01 11:28:09 -08:00
README.md Added support for OT-SVG fonts like Noto Color Emoji 2025-01-28 13:43:24 -08:00

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)