mPDF Manual – mPDF Variables

normalLineheight

(mPDF ≥ 4.2)

normalLineheight – Define the default line-height

Description

void normalLineheight

This variable defines the default line-height used when the CSS property line-height is set to normal (default).

For more information, see Line-height.

Values

$normalLineheight

Values

  • FLOAT : Usual value between 1.1 and 1.5

Default: 1.33

Changelog

Version Description
4.2 Variable was added.

See Also

Line-height

Further reading

Fork me on GitHub