ho trovato
pdf_stringwidth($myPdf, stringa)