mPDF Manual – mPDF Variables

allowCJKoverflow

(mPDF >= 5.7)

CJK line-breaking is implemented in mPDF roughly according to accepted rules.

Configurable variables allow fine control of behaviour (except in tables):

    $this->allowCJKorphans = true;    // FALSE=always wrap to next line; TRUE=squeeze or overflow

    $this->allowCJKoverflow = false; // FALSE=squeeze; TRUE=overflow (only selected)

See also allowCJKorphans and CJKforceend