is_compatible_font(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

πŸ’– is_compatible_font(3) πŸ’–

okay bestie, welcome to the Allegro manual β€” yes, that Allegro, the game programming library. and today's episode is all about is_compatible_font. let's get into it ✨


🌸 NAME 🌸

is_compatible_font β€” check if two fonts are of the same type. from the Allegro game programming library, obviously πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <allegro.h>

int *is_compatible_font(FONT *f1, FONT *f2)

like, copy that exactly, don't be cute with it πŸ’…


✨ DESCRIPTION ✨

so this function does one (1) thing and it does it well: it compares the two fonts you hand it, f1 and f2, and that's literally it.

what's the tea? you use it to find out if Allegro is capable of merging them. that's the whole vibe check. no cap. 🫢


πŸŽ€ RETURN VALUE πŸŽ€

it returns TRUE if the two fonts are of the same general type β€” like, for instance, both are color fonts, or both are monochrome fonts. same energy, compatible, slay. πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘

go read those too, iykyk 🌈


friendly lil reminder: the synopsis really does say int *is_compatible_font(...) β€” that's not me being quirky, that's the page. don't @ me πŸ’€

Allegro β€” version 4.4.3 β€” is_compatible_font(3) 🌸

and that's the whole page, bestie. mwah, go merge some fonts responsibly. periodt. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from