DOKK / manpages / debian 10 / allegro4-doc / allegro_404_char.3alleg4.en
allegro_404_char(3alleg4) Allegro manual allegro_404_char(3alleg4)

allegro_404_char - Character used when Allegro cannot find a glyph.

#include <allegro.h>

extern int allegro_404_char;

When Allegro cannot find a glyph it needs in a font, it will instead output the character given in allegro_404_char. By default, this is set to the caret symbol, `^', but you can change this global to use any other character instead. Example:


/* Show unknown glyphs with an asterisk. */
allegro_404_char = '*';

font(3alleg4)

version 4.4.2 Allegro