al_set_fallback_font(3)

al_set_fallback_font3

Allegro 5 api

Usage

#include <allegro5/allegro_font.h>
void al_set_fallback_font(ALLEGRO_FONT *font, ALLEGRO_FONT *fallback)

Overview

Sets a font which is used instead if a character is not present. Can be chained, but make sure there is no loop as that would crash the application! Pass NULL to remove a fallback font again.

Since

5.1.12

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