mPDF Manual – mPDF Variables

useFixedTextBaseline

(mPDF ≥ 6.0)

Description

boolean useFixedTextBaseline

Specify whether to use a fixed value to set the position of the text baseline.

For more information, see Line-height.

Values

$useFixedTextBaseline = false|true

Values

  • false: use the font metrics to set the position of the text baseline.
  • true: use a fixed value to set the position of the text baseline.

Default: false

Changelog

Version Description
6.0 Variable was added.

See Also

Fork me on GitHub