ALLEGRO_FONT(3)

ALLEGRO_FONT3

Allegro 5 api

Usage

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

Overview

A handle identifying any kind of font. Usually you will create it with al_load_font(3) 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(3) and a font in Allegro’s bitmap font format will be created from it with al_grab_font_from_bitmap(3).

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.