table of contents
other versions
- bookworm 2:5.2.8.0+dfsg-1
- testing 2:5.2.9.1+dfsg-1
- unstable 2:5.2.9.1+dfsg-1.1
- experimental 2:5.2.9.1+dfsg-1.1~exp2
al_set_fallback_font(3alleg5) | al_set_fallback_font(3alleg5) |
NAME¶
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(3alleg5), al_draw_glyph(3alleg5), al_draw_text(3alleg5)
Allegro reference manual |