(PHP 3 >= 3.0.8, PHP 4, PECL)
cpdf_stringwidth() retourne la taille de la chaîne text. Une police doit avoir déjà été choisie.
Voir aussi cpdf_set_font().