mPDF Manual – mPDF Variables

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 to 1 which is for Latin script. In this mode, all scripts except Latin script are marked up with lang= attribute. To select other scripts as the base, see the \Mpdf\Ucdn class.

Default: 1

See Also

Fork me on GitHub