mPDF Manual – mPDF Variables

useFixedNormalLineHeight

(mPDF >= 6.0)

Description

boolean useFixedNormalLineHeight

Specify whether to use a fixed value for the line-height of text, when CSS property line-height is set to normal (default).

For more information, see Line-height.

Values

$useFixedNormalLineHeight = false|true

Values

  • false: use the font metrics to determine the line-height of text, when CSS property line-height is set to normal (default).
  • true: use a fixed value for the line-height of text, when CSS property line-height is set to normal (default).

Default: false

Changelog

Version Description
6.0 Variable was added.

See Also

Fork me on GitHub