(PHP 3>= 3.0.8, PHP 4 , PHP 5)
Funkcia cpdf_stringwidth() vracia šírku reťazca text. Vyžaduje predom nastavený font.
Tiež pozri cpdf_set_font().