TTF_GetHarfBuzzVersion(3)

TTF_GetHarfBuzzVersion3

Query the version of the harfbuzz library in use.

Usage

#include "SDL3_ttf/SDL_ttf.h"

void TTF_GetHarfBuzzVersion(int *major, int *minor, int *patch);

Header file

Defined in SDL3_ttf/SDL_ttf.h

Overview

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.

From libsdl3-ttf-doc 3.2.2+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.