Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
imagefontheight

imagefontheight

(PHP 3, PHP 4, PHP 5)

imagefontheight -- Get font height

Description

int imagefontheight ( int font )

Returns the pixel height of a character in the specified font.

Parameters

font

Can be 1, 2, 3, 4, 5 for built-in fonts (where higher numbers corresponding to larger fonts) or any of your own font identifiers registered with imageloadfont().

Return Values

Returns the height of the pixel.

See Also

imagefontwidth()
imageloadfont()