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: (DEFAULT = 1) 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 file /classes/ucdn.php