GoLang HaruFont::getUnicodeWidth

request it (310)
GoLang replacement for PHP's HaruFont::getUnicodeWidth [edit | history]



Do you know a GoLang replacement for PHP's HaruFont::getUnicodeWidth? Write it!

PHP HaruFont::getUnicodeWidth

PHP original manual for HaruFont::getUnicodeWidth [ show | php.net ]

HaruFont::getUnicodeWidth

(PECL haru >= 0.0.1)

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

Description

int HaruFont::getUnicodeWidth ( int $character )

Get the width of the character in the font.

Parameters

character

The code of the character.

Return Values

Returns the width of the character in the font.

Errors/Exceptions

Throws a HaruException on error.