---
name: "TTF_GetFontDescent"
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_GetFontDescent"
---

# TTF\_GetFontDescent(3)

Query the offset from the baseline to the bottom of a font.

## NAME

TTF\_GetFontDescent - Query the offset from the baseline to the bottom of a font.

## HEADER FILE

Defined in SDL3\_ttf/SDL\_ttf.h

## SYNOPSIS

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

**int TTF\_GetFontDescent(const TTF\_Font \*font);**

## DESCRIPTION

This is a negative value, relative to the baseline.

## FUNCTION PARAMETERS

- *font*

  the font to query.

## RETURN VALUE

Returns the font's descent.

## THREAD SAFETY

It is safe to call this function from any thread.

## AVAILABILITY

This function is available since SDL\_ttf 3.0.0.
