PHP. Руководство по PHP. 2005
cpdf_stringwidth
cpdf_stringwidth
Description
float cpdf_stringwidth (int pdf_document, string text)The cpdf_stringwidth() function returns the width of the string in text. It requires a font to be set before.
See also cpdf_set_font().
cpdf_show
cpdf_stroke