Is there a function for calculating the width of a string that's going to be written to the document?
I would like to have something like:
PHP Code:
Zend_Element_String::getWidth("My String", $My_Font, $My_Font_Size);
Where the font & size are optional (uses the default). Fpdf has it and I've used this feature... a lot...