glutStrokeWidth (3) - Linux Man Pages
glutStrokeWidth: Returns the width in pixels of a character in a given font.
NAMEglutStrokeWidth - Returns the width in pixels of a character in a given font.
LIBRARYOpenGLUT - fonts
SYNOPSISIn openglut.h Ft float Fn glutStrokeWidth void *fontID int character
DESCRIPTIONThis function reports how far the model space origin will advance if you putput this Bf Sy
Returns 0 if
CAVEATSHistorically, this function has been described as returning a pixel-width, but was implemented to return the width in model-space units, rounded to integers. GLUT never resolved this, and freeglut duplicated the confusion. OpenGLUT has decided to stay in model-space and to return the unrounded floating point value. An unreleased GLUT 3.8 was supposed to include glutStrokeWidthf() and glutStrokeLengthf() (note the *f suffixes), but that is not in wide use.
TODODetermine if any glyphs are either wider than this function or if they render outside of the bounding box given by Bf Li
SEE ALSOglutStrokeCharacter(3) glutStrokeLength(3) glutStrokeHeightglutBitmapWidth3