Forum und email

HaruFont::getUnicodeWidth

(PECL haru:0.0.1)

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

Description

int HaruFont::getUnicodeWidth ( int $character )

Returns the width of the character in the font.

Parameters

character

The code of the character.

Errors/Exceptions

Throws HaruException on error.