Upgrading mPDF Library

Hey pgr,
Thanks for the info regarding the deprecation of mPDF.

Is there a known reason why it was deprecated? Is it really just that mPDF isn’t supported by PHP 8.0+ as this thread seems to indicate?

I recently upgraded my system and the deprecation significantly changed my PDF rendering appearance (for the worse). I was using custom HTML with mPDF module and had my PDFs rendering beautifully. Since the force over to TCPPDF, this rendering module doesn’t seem to support padding or width attributes in table cells, which makes it very difficult to stylize PDF output now.

I would like to look at adding the mPDF module back in, but I can’t seem to find anyone who has done this yet, and as the user CRMSigns pointed out on the other thread, it’s not listed in my apt list. Are you familiar with any other cases/walkthroughs of folks adding other PDF modules that I could follow?

1 Like