imagefontheight

imagefontheight

(PHP 4, PHP 5, PHP 7)

imagefontheightGet 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 in latin2 encoding (where higher numbers corresponding to larger fonts) or any of your own font identifiers registered with 登录查看完整内容