HaruFont::getTextWidth
HaruFont::getXHeight
HaruFont
PHP Manual

# HaruFont::getUnicodeWidth

(PECL haru >= 0.0.1)

HaruFont::getUnicodeWidth — Get the width of the character in the font

### Beschreibung

int HaruFont::getUnicodeWidth ( int `$character` )

Get the width of the character in the font.

### Parameter-Liste

`character`

  The code of the character.

### Rückgabewerte

Returns the width of the character in the font.

### Fehler/Exceptions

Throws a HaruException on error.

HaruFont::getTextWidth
HaruFont::getXHeight
HaruFont
PHP Manual