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

# TTF\_FontStyleFlags(3type)

Font style flags for TTF\_Font

## NAME

TTF\_FontStyleFlags - Font style flags for  **TTF\_Font**

## HEADER FILE

Defined in SDL3\_ttf/SDL\_ttf.h

## SYNOPSIS

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

**typedef Uint32 TTF\_FontStyleFlags;** **#define TTF\_STYLE\_NORMAL        0x00 /\*\*\< No special style \*/** **#define TTF\_STYLE\_BOLD          0x01 /\*\*\< Bold style \*/** **#define TTF\_STYLE\_ITALIC        0x02 /\*\*\< Italic style \*/** **#define TTF\_STYLE\_UNDERLINE     0x04 /\*\*\< Underlined text \*/** **#define TTF\_STYLE\_STRIKETHROUGH 0x08 /\*\*\< Strikethrough text \*/**

## DESCRIPTION

These are the flags which can be used to set the style of a font in SDL\_ttf. A combination of these flags can be used with functions that set or query font style, such as  **TTF\_SetFontStyle**\
  or

**TTF\_GetFontStyle** .

## AVAILABILITY

This datatype is available since SDL\_ttf 3.0.0.

## SEE ALSO

**•**(3), [**TTF\_SetFontStyle**(3)](/TTF_SetFontStyle/3.md), **•**(3), [**TTF\_GetFontStyle**(3)](/TTF_GetFontStyle/3.md)
