2.22.0: * Updated to FreeType version 2.13.2 and HarfBuzz version 8.1.1 2.20.0: * Added support for building with CMake * Added TTF_GetFontWrappedAlign() and TTF_SetFontWrappedAlign() to set alignment on wrapped text * Added functions to render using FreeType LCD algorithm: TTF_RenderText_LCD() TTF_RenderUTF8_LCD() TTF_RenderUNICODE_LCD() TTF_RenderText_LCD_Wrapped() TTF_RenderUTF8_LCD_Wrapped() TTF_RenderUNICODE_LCD_Wrapped() TTF_RenderGlyph_LCD() TTF_RenderGlyph32_LCD() * Added TTF_SetFontDirection() and TTF_SetFontScriptName() for additional control over fonts using HarfBuzz * Updated to FreeType version 2.12.1 and HarfBuzz version 2.9.1, fixing CVE-2018-25032 * Fixed crash when loading fonts at certain sizes on Windows * Fix memory corruption loading malformed TTF files (CVE-2022-27470) 2.0.18: Ozkan Sezer - Wed Jan 5 14:15:46 PST 2022 * Added TTF_GetFreeTypeVersion() and TTF_GetHarfBuzzVersion() Sylvain - Jan 16, 2021 * Added support for Signed Distance Field rendering with TTF_SetFontSDF() and TTF_GetFontSDF() David Ludwig - Dec 28, 2019 * Added optional DPI-scaling of fonts, with the following new functions: TTF_OpenFontDPI() TTF_OpenFontIndexDPI() TTF_OpenFontDPIRW() TTF_OpenFontIndexDPIRW() TTF_SetFontSizeDPI() Weard Anaether - Dec 2, 2019 * Added 32-bit character support with: TTF_RenderGlyph32_Solid() TTF_RenderGlyph32_Shaded() TTF_RenderGlyph32_Blended() TTF_GetFontKerningSizeGlyphs32() Arthur Danskin - Sep 3, 2019 * Added 32-bit character support with TTF_GlyphIsProvided32() and TTF_GlyphMetrics32() Sylvain - Apr 5, 2019 * Added functions to set direction and script when using Harfbuzz: TTF_SetDirection() TTF_SetScript() Sylvain - Mar 25, 2019 * Added extended API for text measurement: TTF_MeasureText() TTF_MeasureUTF8() TTF_MeasureUNICODE() Sylvain - Jan 31, 2019 * Added TTF_SetFontSize() to set font size dynamically * Added 'Shaded' and 'Solid' text wrapped functions: TTF_RenderText_Solid_Wrapped() TTF_RenderUTF8_Solid_Wrapped() TTF_RenderUNICODE_Solid_Wrapped() TTF_RenderText_Shaded_Wrapped() TTF_RenderUTF8_Shaded_Wrapped() TTF_RenderUNICODE_Shaded_Wrapped() * Added TTF_HINTING_LIGHT_SUBPIXEL for better results at small text sizes at a performance cost 2.0.15: Sam Lantinga - Fri Oct 26 13:26:54 PDT 2018 * Updated to FreeType version 2.9.1 Sam Lantinga - Sun Sep 10 00:18:45 PDT 2017 * Text rendering functions now use the alpha component of the text colors Sam Lantinga - Sat Sep 9 22:21:55 PDT 2017 * Added support for characters greater than 0xFFFF (e.g. emoji) in the UTF-8 APIs 2.0.14: Ryan Gordon - Fri Jan 29 12:53:29 PST 2016 * Deprecated TTF_GetFontKerningSize() which takes font glyph indices and added TTF_GetFontKerningSizeGlyphs() which takes characters 2.0.13: Sylvain - Sat Jun 28 11:42:42 2014 * Fixed bug rendering text starting with a glyph with negative starting offset beuc - Sun Jun 15 18:27:28 2014 * Fixed regression loading non-scalable fonts Sam Lantinga - Sun Jun 15 18:21:04 PDT 2014 * TTF_GetFontKerningSize() gets kerning between two characters, not two glyph indices David Ludwig - Sun Apr 13 22:28:26 2014 * Added support for building for Windows RT and Windows Phone 2.0.12: Sam Lantinga - Sat Jun 1 19:11:26 PDT 2013 * Updated for SDL 2.0 release 2.0.11: Sam Lantinga - Sat Dec 31 10:49:42 EST 2011 * SDL_ttf is now under the zlib license Peter Kosyh - Mon Feb 28 14:57:03 PST 2011 * Improved font glyph caching for non-latin languages Erik Snoek - Wed Jan 12 09:10:15 PST 2011 * Added API to get kerning info: TTF_GetFontKerningSize() Sam Lantinga - Mon Jan 10 10:58:34 2011 -0800 * Added Android.mk to build on the Android platform 2.0.10: Adam Strzelecki - Wed Oct 21 21:02:37 PDT 2009 * Find the Unicode or symbol character map if it's available in the font