aa_setfont(3)

✨ NAME ✨

aa_setfont β€” sets the font spec that the rendering girlies are gonna use πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <aalib.h>

void aa_setfont
(
     aa_context *c,
     const struct aa_font *font
);

πŸŽ€ PARAMETERS πŸŽ€

  • aa_context *c β€” the AA-lib context you're doing all this on, bestie. This is the one you're operating on.
  • const struct aa_font *font β€” the font specification structure. Yes, a whole struct, just for the font. Iconic.

πŸ’– DESCRIPTION πŸ’–

Okay so literally all this does is set the font specification that the rendering functions are gonna use. That's it. That's the whole thing. You hand it a context and a font, and the renderers now know which font vibe to serve. ✨


🌸 SEE ALSO 🌸

Like, the entire friend group, fr fr:


Bestie, that's a wrap 🫢 this whole page came from c2man aalib.h, and it's been sitting here being iconic since 8 September 1999 β€” it's giving vintage, it's giving library functions manual energy, and honestly? It ate. πŸ’–βœ¨