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

al_init_ttf_addon - Allegro 5 API

#include <allegro5/allegro_ttf.h>
bool al_init_ttf_addon(void)
    

Call this after al_init_font_addon(3alleg5) to make al_load_font(3alleg5) recognize “.ttf” and other formats supported by al_load_ttf_font(3alleg5).

Returns true on success, false on failure.

Allegro reference manual