Hinting flags for TTF (TrueType Fonts)
Defined in <SDL3_ttf/SDL_ttf.h>
typedef enum TTF_HintingFlags
{0, /**< Normal hinting applies standard grid-fitting. */
TTF_HINTING_NORMAL = /**< Light hinting applies subtle adjustments to improve rendering. */
TTF_HINTING_LIGHT, /**< Monochrome hinting adjusts the font for better rendering at lower resolutions. */
TTF_HINTING_MONO, /**< No hinting, the font is rendered without any grid-fitting. */
TTF_HINTING_NONE, /**< Light hinting with subpixel rendering for more precise font edges. */
TTF_HINTING_LIGHT_SUBPIXEL } TTF_HintingFlags;
This enum specifies the level of hinting to be applied to the font rendering. The hinting level determines how much the font's outlines are adjusted for better alignment on the pixel grid.
This enum is available since SDL_ttf 3.0.0.