1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
.TH al_create_builtin_font 3 "" "Allegro reference manual"
.SH NAME
.PP
al_create_builtin_font \- Allegro 5 API
.SH SYNOPSIS
.IP
.nf
\f[C]
#include\ <allegro5/allegro_font.h>
ALLEGRO_FONT\ *al_create_builtin_font(void)
\f[]
.fi
.SH DESCRIPTION
.PP
Creates a monochrome bitmap font (8x8 pixels per character).
.PP
This font is primarily intended to be used for displaying information in
environments or during early runtime states where no external font data
is available or loaded (e.g.
for debugging).
.PP
The builtin font contains the following unicode character ranges:
.IP
.nf
\f[C]
0x0020\ to\ 0x007F\ (ASCII)
0x00A1\ to\ 0x00FF\ (Latin\ 1)
0x0100\ to\ 0x017F\ (Extended\ A)
0x20AC\ to\ 0x20AC\ (euro\ currency\ symbol)
\f[]
.fi
.PP
Returns NULL on an error.
.PP
The font memory must be freed the same way as for any other font, using
al_destroy_font(3).
.SH SINCE
.PP
5.0.8, 5.1.3
.SH SEE ALSO
.PP
al_load_bitmap_font(3), al_destroy_font(3)
|