1al_load_font(3) Library Functions Manual al_load_font(3)
2
3
4
6 al_load_font
7
9 #include <allegro5/allegro_font.h>
10
11 ALLEGRO_FONT *al_load_font(char const *filename, int size, int flags)
12
14 Loads a font from disk. This will use al_load_bitmap_font(3) if you
15 pass the name of a known bitmap format, or else al_load_ttf_font(3).
16
17 Bitmap and TTF fonts are affected by the current bitmap flags at the
18 time the font is loaded.
19
21 al_destroy_font(3), al_init_font_addon(3), al_register_font_loader(3)
22
23
24
25Allegro reference manual al_load_font(3)