[ACCEPTED]-mPDF font-size not working for long text in a table-mpdf

Accepted answer
Score: 14

mPDF uses autosizing tables and this influences, among 4 other things, the font-size as well. When 3 outputting tables with mPDF you need to 2 set:

<table style="overflow: wrap">

on every table. See Auto-layout algorithm 1 in the mPDF manual for reference.

Score: 4

If anyone still got the same issue after 3 tested with accepted answer, try this :

<table style="overflow: wrap" autosize="1">

And 2

$mPdf->shrink_tables_to_fit = 1;

Hope this helped as my case was solved only 1 with these combination

More Related questions