I am currently working on a project based on Symfony 1.4. To generate PDF files, I’m using the awesome PHPExcel library (through the sfPhpExcelPlugin). It works fine but I’m facing a problem : the generated PDF files, even empty, have a size bigger than 500kb.
Where does it come from ? Can I do something to reduce the filesize ?
Thanks in advance.
The switch to allow you to select from tcPDF, DomPDF or mPDF as a PDF rendering library will offer alternatives to the current tcPDF which does generate excessively large files. Both mPdf and DomPDF are faster and more memory efficient than tcPDF, and produce smaller output files, but each has its own inherent problems; and this work is not planned till the 1.7.8 release later this year.