1al_load_ttf_font_f(3)                                    al_load_ttf_font_f(3)
2
3
4

NAME

6       al_load_ttf_font_f - Allegro 5 API
7

SYNOPSIS

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

DESCRIPTION

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 ob‐
20              ject and must not be freed by the caller, as FreeType expects to
21              be able to read from it at a later time.
22
23
24
25Allegro reference manual                                 al_load_ttf_font_f(3)
Impressum