TTF_GetFontKerning(3)
β¨ TTF_GetFontKerning β¨
okay bestie, so this is a lil page from the SDL_ttf manual β it's TTF_GetFontKerning(3), and it's literally just the "hey, is kerning on or not" checker π
πΈ NAME πΈ
TTF_GetFontKerning β the way you ask a font "bestie, is kerning enabled or not?" π«Ά
π HEADER FILE π
It lives in SDL3_ttf/SDL_ttf.h β that's your home base, don't lose it π
π¦ SYNOPSIS π¦
#include "SDL3_ttf/SDL_ttf.h"
bool TTF_GetFontKerning(const TTF_Font *font);
π FUNCTION PARAMETERS π
fontβ the font you're interrogating. the one getting the vibe check π
β RETURN VALUE β
It hands you back true if kerning is enabled, and false if it isn't. that's it, that's the whole tea β
π§ THREAD SAFETY π§
fr fr, you can call this from any thread. it's safe everywhere, no cap. π
π AVAILABILITY π
This one's been around since SDL_ttf 3.0.0 β so she's not new here, she's iconic. π
π SEE ALSO π
β’(3), TTF_SetFontKerning(3)
lowkey if you want to change the kerning instead of just peeking at it, that's TTF_SetFontKerning(3)'s whole job π
and that's the page!! thanks for reading bestie, go forth and kern responsibly π¦β¨
this was brought to you by the SDL_ttf manual, version SDL_ttf 3.2.2 β mwah, bye π π
π¦ where this page comes from
- debian trixie: libsdl3-ttf-doc 3.2.2+ds-1 Β· Zlib
- fedora 43: SDL3_ttf-devel 3.2.2-2.fc43 Β· Zlib AND MIT
- fedora 43: SDL3_ttf-devel 3.2.2-2.fc43 Β· Zlib AND MIT
- fedora 44: SDL3_ttf-devel 3.2.2-4.fc44 Β· Zlib AND MIT
- fedora 44: SDL3_ttf-devel 3.2.2-4.fc44 Β· Zlib AND MIT
- ubuntu questing: libsdl3-ttf-doc 3.2.2+ds-1
- ubuntu resolute: libsdl3-ttf-doc 3.2.2+ds-1build1 Β· Zlib
- ubuntu stonking: libsdl3-ttf-doc 3.2.2+ds-2 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms