Skip to content

2.19.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@slouken slouken released this 17 Jun 06:02
· 327 commits to main since this release

This is a release candidate for 2.20.0.

In addition to new CMake support by @madebr and many bug fixes, here are the highlights since the last release:

  • 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)