mPDF Manual – mPDF Variables

autoScriptToLang

(mPDF >= 6.0)

Description

boolean autoScriptToLang

When true, marks up HTML text using the lang attribute, based on the Unicode script block in question, and values in \Mpdf\Language\ScriptToLanguageIntergface interface implementation set for mPDF.

Values

$autoScriptToLang = true|false

Values

  • true: Mark up HTML text using the lang attribute, based on the Unicode script block in question, and values in \Mpdf\ScriptToLang class.
  • false: No markup applied.

Default: true

See Also

Fork me on GitHub