GD 函数
PHP 手册

imagefontwidth

(PHP 4, PHP 5)

imagefontwidth取得字体宽度

说明

int imagefontwidth ( int $font )

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

参见 imagefontheight()imageloadfont()


GD 函数
PHP 手册