1al_load_ttf_font_f(3) Library Functions Manual al_load_ttf_font_f(3)
2
3
4
6 al_load_ttf_font_f
7
9 #include <allegro5/allegro_ttf.h>
10
11 ALLEGRO_FONT *al_load_ttf_font_f(ALLEGRO_FILE *file,
12 char const *filename, int size, int flags)
13
15 Like al_load_ttf_font(3), but the font is read from the file handle.
16 The filename is only used to find possible additional files next to a
17 font file.
18
19 Note: The file handle is owned by the returned ALLEGRO_FONT
20 object and must not be freed by the caller, as FreeType expects
21 to be able to read from it at a later time.
22
23
24
25Allegro reference manual al_load_ttf_font_f(3)