1
0
Fork 0
tetris-c/vendor/SDL3_ttf-3.2.2/CHANGES.txt
2026-05-10 00:20:28 +02:00

14 lines
1 KiB
Text

3.2.2:
* Added TTF_GetFontWeight()
3.2.0:
* Updated for SDL 3.0, see docs/README-migration.md for details
* Added the concept of a text object and text engine, which is able to efficiently render text for a variety of output methods
* Added TTF_CreateSurfaceTextEngine() and TTF_DrawSurfaceText() for drawing text to SDL_Surface output
* Added TTF_CreateRendererTextEngine() and TTF_DrawRendererText() for drawing text to SDL_Renderer output
* Added TTF_CreateGPUTextEngine() and TTF_GetGPUTextDrawData() for drawing text to SDL_GPU output
* Made the text engine API public in <SDL3_ttf/SDL_textengine.h> so you can integrate text objects into custom font display solutions
* Added TTF_CopyFont() to allow you to easily make fonts of different sizes
* Added TTF_AddFallbackFont() to allow combining fonts with distinct glyph support
* Added support for OT-SVG fonts, which are useful as fallback fonts for color emoji support
* Updated SDF font support and added an example of using it with the SDL GPU API