You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that SetMargins is a method taken over from FPDI, not documented and not (even unofficially) supported in mPDF. Use other methods of setting margins - as parameters of Mpdf\Mpdf constructor, parameters of AddPage/AddPageByArray or by properties of <pagebreak> tag. The SetMargins method will eventually be deprecated and removed.
Guidelines
Description of the bug
SetMargins
does not support margin-bottom as the constructor config does, plus margin-left and margin-right are not taken into consideration.mPDF version
v8.1.6
PHP Version and environment (server type, cli provider etc., enclosing libraries and their respective versions)
PHP 8.1.6 (Simply running a script with php ./script.php)
Reproducible PHP CSS HTML snippet suffering by the error
The text was updated successfully, but these errors were encountered: