---
name: "TTF_GetHarfBuzzVersion"
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_GetHarfBuzzVersion"
---

# TTF\_GetHarfBuzzVersion(3)

Query the version of the HarfBuzz library in use.

## NAME

TTF\_GetHarfBuzzVersion - Query the version of the HarfBuzz library in use.

## HEADER FILE

Defined in SDL3\_ttf/SDL\_ttf.h

## SYNOPSIS

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

**void TTF\_GetHarfBuzzVersion(int \*major, int \*minor, int \*patch);**

## DESCRIPTION

If HarfBuzz is not available, the version reported is 0.0.0.

## FUNCTION PARAMETERS

- *major*

  to be filled in with the major version number. Can be NULL.

- *minor*

  to be filled in with the minor version number. Can be NULL.

- *patch*

  to be filled in with the param version number. Can be NULL.

## THREAD SAFETY

It is safe to call this function from any thread.

## AVAILABILITY

This function is available since SDL\_ttf 3.0.0.
