DOKK / manpages / debian 13 / libsdl3-ttf-doc / TTF_SetFontLineSkip.3.en
TTF_SetFontLineSkip(3) SDL_ttf3 FUNCTIONS TTF_SetFontLineSkip(3)

TTF_SetFontLineSkip - Set the spacing between lines of text for a font.

Defined in SDL3_ttf/SDL_ttf.h

#include "SDL3_ttf/SDL_ttf.h"
void TTF_SetFontLineSkip(TTF_Font *font, int lineskip);

This updates any TTF_Text
objects using this font.

the font to modify.
the new line spacing for the font.

This function should be called on the thread that created the font.

This function is available since SDL_ttf 3.0.0.

(3), TTF_GetFontLineSkip(3)

SDL_ttf 3.2.2 SDL_ttf