Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Zend_Pdf
-
Labels:None
Description
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
Another helpful FPDF-feature is helpfull wenn creating tables:
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
thanks,
niko
Attachments
Issue Links
| This issue is duplicated by: | ||||
| ZF-7145 | Zend_Pdf_Page::drawText() with multi-line text |
|
|
|
Assign to Alexander.