Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Zend PDF word wrapping

Does Zend_Pdf already support automatic wrapping of text?

For example I want to create a textblock and fill it with text. This is a very important feature and unless Zend Pdf does not have it I am not able to switch from FPDF.

Also I think a Framework that says it has PDF support should be able to offer their developers this kind of feature.

Or am I missing something here?

like image 935
Sebastian Hoitz Avatar asked Dec 06 '22 04:12

Sebastian Hoitz


1 Answers

Indeed Zend_Pdf is not mature enough to compare with the regular Zend_YouNameIt component.

In my oppinion Zend_Pdf should not be part of Zend. It is very limited and can't be used in most cases because one or the other feature is missing.

As for the feature you are missing, you would have to check the Manual or read the code but in general I advise to use something else for PDF generation until Zend_Pdf is mature enough.

I think the best solution would be for Zend_Pdf to be a wrapper for some kind of command line tool.

like image 162
markus Avatar answered Dec 08 '22 15:12

markus