HaruFont
PHP Manual

HaruFont::getUnicodeWidth

(PECL haru >= 0.0.1)

HaruFont::getUnicodeWidthGet the width of the character in the font

Описание

int HaruFont::getUnicodeWidth ( int $character )

Get the width of the character in the font.

Параметри

character

The code of the character.

Връщани стойности

Returns the width of the character in the font.

Грешки/Изключения

Throws a HaruException on error.


HaruFont
PHP Manual