1al_init_font_addon(3)                                    al_init_font_addon(3)
2
3
4

NAME

6       al_init_font_addon - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_font.h>
10
11              bool al_init_font_addon(void)
12

DESCRIPTION

14       Initialise the font addon.
15
16       Note  that  if  you  intend to load bitmap fonts, you will need to ini‐
17       tialise allegro_image separately (unless you are using another  library
18       to load images).
19
20       Similarly,  if  you  wish to load truetype-fonts, do not forget to also
21       call al_init_ttf_addon(3).
22
23       Returns true on success, false on failure.  On  the  5.0  branch,  this
24       function  has  no return value.  You may wish to avoid checking the re‐
25       turn value if your code needs to be compatible with Allegro 5.0.   Cur‐
26       rently, the function will never return false.
27

SEE ALSO

29       al_init_image_addon(3), al_init_ttf_addon(3), al_shutdown_font_addon(3)
30
31
32
33Allegro reference manual                                 al_init_font_addon(3)
Impressum