mPDF Manual – mPDF Variables

adjustFontDescLineheight

(mPDF >= 6.0)

Description

void adjustFontDescLineheight

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

For more information, see Line-height.

Values

$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

Changelog

VersionDescription
6.0 Variable was added.

See Also

Line-height