GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GET_FONT_RANGES (3)

NAME

get_font_ranges - Returns the number of character ranges in a font. Allegro game programming library.

CONTENTS

Synopsis
Description
See Also

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:\n", range);
   for (n = 0; n < range; n++)
      printf("Range %d from 0x%03x - 0x%03x\n",
             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(3), get_font_range_end(3), transpose_font(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro GET_FONT_RANGES (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.