text_height(3) Returns the height of a font in pixels. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

int text_height(const FONT *f)

DESCRIPTION

Returns the height (in pixels) of the specified font. Example:

   int height = text_height(font);
   ...
   bmp = create_bitmap(width, height);