Get the distance from the baseline of lowercase letters

HaruFont::getUnicodeWidth
HaruFont::measureText
HaruFont
PHP Manual

# HaruFont::getXHeight

(PECL haru >= 0.0.1)

HaruFont::getXHeight — Get the distance from the baseline of lowercase letters

### Description

int HaruFont::getXHeight ( void )

Gets the distance from the baseline of lowercase letters.

### Parameters

This function has no parameters.

### Return Values

Returns the distance from the baseline of lowercase letters.

### Errors/Exceptions

Throws a HaruException on error.

HaruFont::getUnicodeWidth
HaruFont::measureText
HaruFont
PHP Manual