1al_get_font_ranges(3)                                    al_get_font_ranges(3)
2
3
4

NAME

6       al_get_font_ranges - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_font.h>
10
11              int al_get_font_ranges(ALLEGRO_FONT *f, int ranges_count, int *ranges)
12

DESCRIPTION

14       Gets  information  about  all  glyphs contained in a font, as a list of
15       ranges.  Ranges have the same  format  as  with  al_grab_font_from_bit‐
16       map(3).
17
18       ranges_count is the maximum number of ranges that will be returned.
19
20       ranges should be an array with room for ranges_count * 2 elements.  The
21       even integers are the first unicode point in a range, the odd  integers
22       the last unicode point in a range.
23
24       Returns  the number of ranges contained in the font (even if it is big‐
25       ger than ranges_count).
26

SINCE

28       5.1.4
29

SEE ALSO

31       al_grab_font_from_bitmap(3)
32
33
34
35Allegro reference manual                                 al_get_font_ranges(3)
Impressum