allowCJKoverflow
(mPDF ≥ 5.7)
bool $allowCJKoverflow
CJK line-breaking is implemented in mPDF roughly according to accepted rules.
Configurable variables allow fine control of behaviour (except in tables):
<?php
$this->allowCJKorphans = true;
Values
false
: always wrap to next linetrue
: squeeze or overflow
Default: true
Combined with
<?php
$this->allowCJKoverflow = false;
Values
false
: squeezetrue
: overflow (only selected)
Default: false
See also