TTF_GetHarfBuzzVersion(3)

πŸ’– TTF_GetHarfBuzzVersion(3) πŸ’–

okay bestie, welcome to the SDL_ttf3 FUNCTIONS corner of the group chat, where we're about to find out what version of HarfBuzz we're running with πŸ¦‹


✨ NAME ✨

TTF_GetHarfBuzzVersion β€” literally just asks the HarfBuzz library in use what version it is, no cap πŸ’…


🌸 HEADER FILE 🌸

Defined in SDL3_ttf/SDL_ttf.h β€” that's the one you're gonna #include, mwah πŸŽ€


⭐ SYNOPSIS ⭐

#include "SDL3_ttf/SDL_ttf.h"

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

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea: you call this and it tells you the version of HarfBuzz that's actually in play 🫢

but listen β€” if HarfBuzz is not available, the version it reports is 0.0.0. That's the vibe check, and it's giving "nothing here, girl" πŸ’€

🧚 FUNCTION PARAMETERS 🧚

  • major β€” gets filled in with the major version number. Can be NULL if you don't care πŸ’œ
  • minor β€” gets filled in with the minor version number. Can be NULL too, no pressure 🌈
  • patch β€” gets filled in with the param version number. Also can be NULL 😌

πŸ”₯ THREAD SAFETY πŸ”₯

It is safe to call this function from any thread. any. thread. periodt πŸ’…βœ¨


🌟 AVAILABILITY 🌟

This function is available since SDL_ttf 3.0.0 β€” iconic behavior, we've had it for a minute πŸ‘‘


and that's the whole page, bestie!! every single fact intact, zero details dropped, we ate and left no crumbs πŸ“

this lil transmission came to you from the SDL_ttf manual, version SDL_ttf 3.2.2 β€” go forth and query those versions, main character πŸŽ€πŸ’–

πŸ“¦ where this page comes from