Scroll to navigation

load_grx_font(3alleg4) Allegro manual load_grx_font(3alleg4)

NAME

load_grx_font - Loads a GRX format font. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

FONT *load_grx_font(const char *filename, RGB *pal, void *param)

DESCRIPTION

Loads a GRX format font. You shouldn't normally call this routine directly.

RETURN VALUE

Returns a pointer to the font or NULL on error. Remember that you are responsible for destroying the font when you are finished with it to avoid memory leaks.

SEE ALSO

register_font_file_type(3alleg4), load_font(3alleg4)

version 4.4.3 Allegro