debian man page for get_font_ranges

Query: get_font_ranges

OS: debian

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

get_font_ranges(3alleg4)					  Allegro manual					  get_font_ranges(3alleg4)

NAME
get_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)
DESCRIPTION
Use 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: FONT *f; int range; int n; ... range = get_font_ranges(f); printf("The font has %d character ranges: ", range); for (n = 0; n < range; n++) printf("Range %d from 0x%03x - 0x%03x ", get_font_range_begin(f, n), get_font_range_end(f, n));
RETURN VALUE
Returns the number of continuous character ranges in a font, or -1 if that information is not available.
SEE ALSO
get_font_range_begin(3alleg4), get_font_range_end(3alleg4), transpose_font(3alleg4) Allegro version 4.4.2 get_font_ranges(3alleg4)
Related Man Pages
exfont(3alleg4) - debian
exunicod(3alleg4) - suse
exunicod(3alleg4) - netbsd
exunicod(3alleg4) - linux
exunicod(3alleg4) - v7
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
awk or sed - Convert 2 lines to 1 line
How can I do this in VI editor?
New UNIX and Linux History Sections