1al_create_builtin_font(3)                            al_create_builtin_font(3)
2
3
4

NAME

6       al_create_builtin_font - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_font.h>
10
11              ALLEGRO_FONT *al_create_builtin_font(void)
12

DESCRIPTION

14       Creates a monochrome bitmap font (8x8 pixels per character).
15
16       This  font  is primarily intended to be used for displaying information
17       in environments or during early runtime states where no  external  font
18       data is available or loaded (e.g. for debugging).
19
20       The builtin font contains the following unicode character ranges:
21
22              0x0020 to 0x007F (ASCII)
23              0x00A1 to 0x00FF (Latin 1)
24              0x0100 to 0x017F (Extended A)
25              0x20AC to 0x20AC (euro currency symbol)
26
27       Returns NULL on an error.
28
29       The font memory must be freed the same way as for any other font, using
30       al_destroy_font(3).
31

SINCE

33       5.0.8, 5.1.3
34

SEE ALSO

36       al_load_bitmap_font(3), al_destroy_font(3)
37
38
39
40Allegro reference manual                             al_create_builtin_font(3)
Impressum