mPDF Manual – mPDF Variables

(mPDF ≥ 6.0)

## Description

Specify a factor by which to multiply the font metrics, when determining the text lineheight. When set to 1, the text line height will equal the values set in the font for Ascent + Descent.

$adjustFontDescLineheight Values • FLOAT : use the when font metrics are being used to set the text line-height. Usual value between 1 and 1.2 Default: 1.14 ## Usage Set at document initiation <?php$mpdf = new \Mpdf\Mpdf(['adjustFontDescLineheight' => 1.14]);



or during the course of creating the document

<?php