baseScript
(mPDF ≥ 6.0)
Description
boolean baseScript
Tells mPDF which Script to ignore when using autoScriptToLang
.
Values
$baseScript = INTEGER
Values
- INTEGER: Number representing the
script block to be ignored when using
autoScriptToLang
. It is set by default to1
which is for Latin script. In this mode, all scripts except Latin script are marked up withlang=
attribute. To select other scripts as the base, see the\Mpdf\Ucdn
class.
Default: 1
See Also
- autoScriptToLang - marks up HTML text using the lang attribute, based on the Unicode script block in question
- Automatic Font selection