al_init_ttf_addon man page

al_init_ttf_addon — Allegro 5 API

Synopsis

#include <allegro5/allegro_ttf.h>

bool al_init_ttf_addon(void)

Description

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

Returns true on success, false on failure.

Referenced By

al_init_font_addon(3), al_load_ttf_font(3).

Allegro reference manual