debian man page for register_font_file_type

Query: register_font_file_type

OS: debian

Section: 3alleg4

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

register_font_file_type(3alleg4)				  Allegro manual				  register_font_file_type(3alleg4)

NAME
register_font_file_type - Register a new font loading function. Allegro game programming library.
SYNOPSIS
#include <allegro.h> void register_font_file_type(const char *ext, FONT *(*load)(const char *filename, RGB *pal, void *param));
DESCRIPTION
Informs the load_font() functions of a new file type, providing a routine to read fonts in this format. The function you supply must follow the following prototype: FONT *load_my_font(const char *filename, RGB *pal, void *param) { ... } The pal parameter can optionally be used to return a palette for the FONT. The parameter param can be anything you like: you can use this to pass information to your loading routine, such as for instance the font height, the character range to load or the index number of a font in a datafile. If you choose to write your own font loading code, your function should be prepared to deal with a value of NULL for either of these parameters.
SEE ALSO
load_font(3alleg4) Allegro version 4.4.2 register_font_file_type(3alleg4)
Related Man Pages
load_txt_font(3alleg4) - debian
merge_fonts(3alleg4) - debian
exdata(3alleg4) - suse
exdata(3alleg4) - opendarwin
exdata(3alleg4) - netbsd
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
How can I do this in VI editor?
Detecting unused variables...
How to copy a column of multiple files and paste into new excel file (next to column)?
My first PERL incarnation... Audio Oscillograph