---
name: "glutBitmapWidth"
section: "3x"
platform: "linux"
package: "glut-dev"
version: "3.3-2"
release: "Debian 1.3 (Bo)"
platforms: ["linux"]
url: "https://new.carta.tech/glutBitmapWidth/3x"
---

# glutBitmapWidth(3x)

returns the width of a bitmap character.

## NAME

glutBitmapWidth - returns the width of a bitmap character.

## SYNTAX

```

```

int glutBitmapWidth(GLUTbitmapFont font, int character)

## ARGUMENTS

- *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.

## SEE ALSO

glutBitmapCharacter, glutStrokeWidth

## AUTHOR

Mark J. Kilgard (mjk@sgi.com)
