Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » RADICORE Suggestions » PDF Output Performance
PDF Output Performance [message #3168] Fri, 23 November 2012 10:47 Go to next message
gpatti is currently offline  gpatti
Messages: 283
Registered: August 2008
Senior Member
You mention in the documentation that the PDF output functions are memory intensive and can be slow - I have one or two processes that create larger reports and these are indeed quite slow - and at worst can cause a timeout.

I noticed a performnces section on the TCPDF website http://www.tcpdf.org/performances.php that suggests some things that may improve performance. Whilst some are related to the environment, some are also code implementations (e.g. using the setFontSubsetting(false) method).

Would it be possible to include some of these options as preferences in the radicore config?
Re: PDF Output Performance [message #3171 is a reply to message #3168] Fri, 23 November 2012 12:28 Go to previous message
AJM is currently offline  AJM
Messages: 2371
Registered: April 2006
Location: Surrey, UK
Senior Member
Most of those changes are to the config/tcpdf_config.php file, so you can change those without affecting Radicore.

As for the setFontSubsetting() method you can alter this in the _cm_pre_output() method as follows:
$this->pdf->setFontSubsetting(false);
[


Previous Topic: Thank you!
Next Topic: Development Diary (markcarranza)
Goto Forum:
  


Current Time: Wed Nov 27 06:49:36 EST 2024

Total time taken to generate the page: 0.01024 seconds