mPDF font-size not working for long text in a table

前端 未结 2 1896
慢半拍i
慢半拍i 2020-12-16 16:50

Using mPDF to print html to pdf the font-size I set in html is not properly set in creating the pdf. In my html I have

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-16 16:55

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

And

$mPdf->shrink_tables_to_fit = 1;

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

提交回复
热议问题