mirror of
https://github.com/libsdl-org/SDL_ttf.git
synced 2026-07-04 06:39:38 +02:00
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%
Add tex_coord input and use screen-space derivative-based distance computation to produce smooth anti-aliased edges on solid fill rectangles (underline and strikethrough). Recompile shader binaries for SPIR-V, MSL and DXIL. |
||
|---|---|---|
| .github | ||
| build-scripts | ||
| cmake | ||
| docs | ||
| examples | ||
| external | ||
| include/SDL3_ttf | ||
| mingw/pkg-support/cmake | ||
| src | ||
| VisualC | ||
| Xcode | ||
| .clang-format | ||
| .editorconfig | ||
| .gitignore | ||
| .gitmodules | ||
| .wikiheaders-options | ||
| Android.mk | ||
| CHANGES.txt | ||
| CMakeLists.txt | ||
| INSTALL.md | ||
| LICENSE.txt | ||
| README.md | ||
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:
- FreeType, licensed under the FTL
- HarfBuzz, licensed under the MIT license
- PlutoSVG, licensed under the MIT license
- PlutoVG, licensed under the MIT license
Enjoy!
Sam Lantinga (slouken@libsdl.org)