ImageFontWidth

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

説明

int imagefontwidth(int font);

font中の文字の幅をピクセル単位で返します。

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