Allegro 5 api
#include <allegro5/allegro_font.h> void al_init_font_addon(void)
Initialise the font addon.
Note that if you intend to load bitmap fonts, you will need to initialise allegro_image separately (unless you are using another library to load images).
al_init_image_addon(3alleg5), al_init_ttf_addon(3alleg5), al_shutdown_font_addon(3alleg5)