PDF_stringwidth

(PHP 3 >= 3.0.6, PHP 4, PECL)

PDF_stringwidth -- Return width of text

Description

float PDF_stringwidth ( resource p, string text, int font, float fontsize )

Returns the width of text in an arbitrary font.