ZF-313: TTFBox or TextWidth/Height function (word wrapping
functionality)   Problem: When using the drawText function to
write a string that is longer than the page, there is no
WordWrap. Is there a way to print text wrapped or to find out
the width and height of the string that is about to be printed?
I am working on some advanced layout classes that will take care
of wrapping long lines for you. This code won't be ready for
several more weeks. In the meantime, you may be able to use this
function:  * Returns the total width in points of the string
using the specified font and * size. * This is not the most
efficient way to perform this calculation. I'm  * concentrating
optimization efforts on the upcoming layout manager class. *
Similar calculations exist inside the layout manager class, but
widths are * generally calculated only after determining line
fragments. * @param string $string * @param
Zend_Pdf_Resource_Font $font * @param float $fontSize Font size
in points * @return float function widthForStri