glutBitmapHeight (3) - Linux Man Pages

glutBitmapHeight: Return the height of a given font, in pixels.

NAME

glutBitmapHeight - Return the height of a given font, in pixels.

LIBRARY

OpenGLUT - bitmapfont

SYNOPSIS

In openglut.h Ft int Fn glutBitmapHeight void *font

PARAMETERS

Bf Em
 font Ef
    A bitmapped font identifier.

DESCRIPTION

Return the line-to-line vertical spacing (in pixels) between lines of a bitmapped Bf Sy
 font. Ef
 

Returns 0 if Bf Sy
 font Ef
 is invalid.

CAVEATS

Does Bf Li
 not Ef
  report the height used by individual characters.  This may limit its usefulness.  (Compare with other font-metric queries.)

TODO

We have discussed adding a "font descender" query. We should go ahead and do it.