is_compatible_font (3) - Linux Manuals

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

NAME

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

SYNOPSIS

#include <allegro.h>

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

DESCRIPTION

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

RETURN VALUE

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