GD and Image 函数
PHP Manual

imagefontheight

(PHP 4, PHP 5)

imagefontheight — 取得字体高度

说明

int imagefontheight ( int $font )

返回指定字体一个字符高度的像素值。

参见 imagefontwidth() 和 imageloadfont()。


GD and Image 函数
PHP Manual