ImageFontWidth

(PHP 3, PHP 4 >= 4.0.0)

ImageFontWidth -- フォントの幅の取得

説明

int imagefontwidth (int font)

フォントfontの文字の幅をピクセル単位で返します。

imagefontheight()および imageloadfont()も参考にしてください。