![]() |
![]()
| ![]() |
![]()
NAMEget_font_ranges - Returns the number of character ranges in a font. Allegro game programming library. SYNOPSIS#include <allegro.h> int get_font_ranges(FONT *f) DESCRIPTIONUse this function to find out the number of character ranges in a font. You should query each of these ranges with get_font_range_begin() and get_font_range_end() to find out what characters are available in the font. Example:
RETURN VALUEReturns the number of continuous character ranges in a font, or -1 if that information is not available. SEE ALSOget_font_range_begin(3), get_font_range_end(3), transpose_font(3)
|