ZF-1254: Improve Zend_Pdf Text-Functions
Zend_Pdf currently only has a function drawText to draw Text at a specific position. For real-world usage it is every hard to work with this - as you have to calculate width and height of texts all the time (only possible ZF-313).
It would be nice to have Features like FPDF where you don't have to manually calculate everytime the y-position of the next line: - Write: http://www.fpdf.org/en/doc/write.htm - GetX/GetY: http://www.fpdf.org/en/doc/getx.htm http://www.fpdf.org/en/doc/gety.htm - SetX/SetY: http://www.fpdf.org/en/doc/setx.htm http://www.fpdf.org/en/doc/sety.htm
Additionally there exists a FPDF-Addon which allows to switch the font in a line - without having to calculate x and y positions: - Flowing Block: http://www.fpdf.de/downloads/addons/65/
Zend_Pdf has has many features fpdf lacks, it would be very nice if we could use Zend_Pdf - a much better OO-Interface, fpdf is one big class - utf8-support - use ttf-fonts directly