DOKK / manpages / debian 10 / allegro5-doc / ALLEGRO_FONT.3alleg5.en
ALLEGRO_FONT(3alleg5) ALLEGRO_FONT(3alleg5)

ALLEGRO_FONT - Allegro 5 API

#include <allegro5/allegro_font.h>
typedef struct ALLEGRO_FONT ALLEGRO_FONT;
    

A handle identifying any kind of font. Usually you will create it with al_load_font(3alleg5) which supports loading all kinds of TrueType fonts supported by the FreeType library. If you instead pass the filename of a bitmap file, it will be loaded with al_load_bitmap(3alleg5) and a font in Allegro's bitmap font format will be created from it with al_grab_font_from_bitmap(3alleg5).

Allegro reference manual