backupSubsFont
mPDF ≥ 5.0
Optional array containing font(s) to use for missing characters when using useSubstitutions.
Default set in font configuration variables or at runtime.
Default value: array(‘dejavusanscondensed’)
Only relevant when using subsets (otherwise would add very large file), and doesn’t do Indic or arabic text
More than 1 font can be specified but each will add to the processing time of the script
Names used are as defined in fontdata
configuration variable.
Examples:
$mpdf->backupSubsFont = ['dejavusanscondensed', 'sun-exta']; // this will recognise most scripts
$mpdf->backupSubsFont = ['dejavusanscondensed']; // good default