---
name: "TTF_SetFontLineSkip"
section: "3"
platform: "linux"
package: "libsdl3-ttf-doc"
version: "3.2.2+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/TTF_SetFontLineSkip"
---

# TTF\_SetFontLineSkip(3)

Set the spacing between lines of text for a font.

## NAME

TTF\_SetFontLineSkip - Set the spacing between lines of text for a font.

## HEADER FILE

Defined in SDL3\_ttf/SDL\_ttf.h

## SYNOPSIS

```
#include "SDL3_ttf/SDL_ttf.h"
```

**void TTF\_SetFontLineSkip(TTF\_Font \*font, int lineskip);**

## DESCRIPTION

This updates any  **TTF\_Text**\
  objects using this font.

## FUNCTION PARAMETERS

- *font*

  the font to modify.

- *lineskip*

  the new line spacing for the font.

## THREAD SAFETY

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

## AVAILABILITY

This function is available since SDL\_ttf 3.0.0.

## SEE ALSO

**•**(3), [**TTF\_GetFontLineSkip**(3)](/TTF_GetFontLineSkip/3.md)
