DOKK / manpages / debian 10 / allegro4-doc / is_compatible_font.3alleg4.en
is_compatible_font(3alleg4) Allegro manual is_compatible_font(3alleg4)

is_compatible_font - Check if two fonts are of the same type. Allegro game programming library.

#include <allegro.h>

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

This function compares the two fonts, which you can use to find out if Allegro is capable of merging them.

Returns TRUE if the two fonts are of the same general type (both are color fonts or both are monochrome fonts, for instance).

merge_fonts(3alleg4), is_trans_font(3alleg4), is_color_font(3alleg4), is_mono_font(3alleg4)

version 4.4.2 Allegro