Allan,

Thanks for posting this (and thanks to Willie as well for his getStringWidth
function)!  I was able to use Willie's string width function to center and
right-align my text as well as to add word wrapping (justified alignment is
next).  If anyone else is struggling with this and wants to discuss it
further, I'll gladly post the details and/or code for what I did.  Not sure
if I did it exactly the "Zend Framework" way, but I subclassed the Zend_Pdf
and Zend_Pdf_Page classes to make it as generic as possible, and it came out
pretty clean.

Rich
-- 
View this message in context: 
http://www.nabble.com/Text-formatting-in-PDFs-tf3668934s16154.html#a10296971
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to