1ALLEGRO_FONT(3) ALLEGRO_FONT(3)
2
3
4
6 ALLEGRO_FONT - Allegro 5 API
7
9 #include <allegro5/allegro_font.h>
10
11 typedef struct ALLEGRO_FONT ALLEGRO_FONT;
12
14 A handle identifying any kind of font. Usually you will create it with
15 al_load_font(3) which supports loading all kinds of TrueType fonts sup‐
16 ported by the FreeType library. If you instead pass the filename of a
17 bitmap file, it will be loaded with al_load_bitmap(3) and a font in
18 Allegro's bitmap font format will be created from it with
19 al_grab_font_from_bitmap(3).
20
21
22
23Allegro reference manual ALLEGRO_FONT(3)