al_set_fallback_font man page

al_set_fallback_font — Allegro 5 API

Synopsis

#include <allegro5/allegro_font.h>

void al_set_fallback_font(ALLEGRO_FONT *font, ALLEGRO_FONT *fallback)

Description

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

See Also

al_get_fallback_font(3), al_draw_glyph(3), al_draw_text(3)

Referenced By

al_get_fallback_font(3).

Allegro reference manual