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.
See Also
glutBitmapCharacter(3) glutBitmapString(3) glutBitmapWidth(3) glutBitmapLength(3) glutStrokeHeight(3)