Next: 10.3 glutStrokeCharacter Up: 10 Font Rendering Previous: 10.1 glutBitmapCharacter

## 10.2 glutBitmapWidth

`glutBitmapWidth` returns the width of a bitmap character.

Usage

    int glutBitmapWidth(GLUTbitmapFont font, int character)

`font`
  Bitmap font to use.
`character`
  Character to return width of (not confined to 8 bits).

Description

`glutBitmapWidth` returns the width in pixels of a bitmap character in a supported bitmap font. While the width of characters in a font may vary (though fixed width fonts do not vary), the maximum height characteristics of a particular font are fixed.

Next: 10.3 glutStrokeCharacter Up: 10 Font Rendering Previous: 10.1 glutBitmapCharacter