Information
INFO - Font file dejavusans contains characters in Unicode Plane 1 SMP
INFO - Font file dejavusanscondensed contains characters in Unicode Plane 1 SMP
INFO - Font file dejavusansmono contains characters in Unicode Plane 1 SMP
INFO - Font file dejavuserif contains characters in Unicode Plane 1 SMP
INFO - Font file dejavuserifcondensed contains characters in Unicode Plane 1 SMP
Font names as parsed by mPDF
"DejaVu Sans" font is available as dejavusans
"DejaVu Sans Condensed" font is available as dejavusanscondensed
"DejaVu Sans Light" font is available as dejavusanslight
"DejaVu Sans Mono" font is available as dejavusansmono
"DejaVu Serif" font is available as dejavuserif
"DejaVu Serif Condensed" font is available as dejavuserifcondensed
"Garuda" font is available as garuda
"Norasi" font is available as norasi
"XB Riyaz" font is available as xbriyaz
"XB Zar" font is available as xbzar
"ind_bn_1_001" font is available as ind_bn_1_001
"ind_gu_1_001" font is available as ind_gu_1_001
"ind_hi_1_001" font is available as ind_hi_1_001
"ind_kn_1_001" font is available as ind_kn_1_001
"ind_ml_1_001" font is available as ind_ml_1_001
"ind_or_1_001" font is available as ind_or_1_001
"ind_pa_1_001" font is available as ind_pa_1_001
"ind_ta_1_001" font is available as ind_ta_1_001
"ind_te_1_001" font is available as ind_te_1_001
"ocrb10" font is available as ocrb10
Sample config_fonts.php file
Remember to edit the following arrays to place your preferred default first in order:
$this->fontdata = array (
'dejavusans' =>
array (
'B' => 'DejaVuSans-Bold.ttf',
'BI' => 'DejaVuSans-BoldOblique.ttf',
'I' => 'DejaVuSans-Oblique.ttf',
'R' => 'DejaVuSans.ttf',
),
'dejavusanscondensed' =>
array (
'B' => 'DejaVuSansCondensed-Bold.ttf',
'BI' => 'DejaVuSansCondensed-BoldOblique.ttf',
'I' => 'DejaVuSansCondensed-Oblique.ttf',
'R' => 'DejaVuSansCondensed.ttf',
),
'dejavusanslight' =>
array (
'R' => 'DejaVuSans-ExtraLight.ttf',
),
'dejavusansmono' =>
array (
'B' => 'DejaVuSansMono-Bold.ttf',
'BI' => 'DejaVuSansMono-BoldOblique.ttf',
'I' => 'DejaVuSansMono-Oblique.ttf',
'R' => 'DejaVuSansMono.ttf',
),
'dejavuserif' =>
array (
'B' => 'DejaVuSerif-Bold.ttf',
'BI' => 'DejaVuSerif-BoldItalic.ttf',
'I' => 'DejaVuSerif-Italic.ttf',
'R' => 'DejaVuSerif.ttf',
),
'dejavuserifcondensed' =>
array (
'B' => 'DejaVuSerifCondensed-Bold.ttf',
'BI' => 'DejaVuSerifCondensed-BoldItalic.ttf',
'I' => 'DejaVuSerifCondensed-Italic.ttf',
'R' => 'DejaVuSerifCondensed.ttf',
),
'garuda' =>
array (
'B' => 'Garuda-Bold.ttf',
'BI' => 'Garuda-BoldOblique.ttf',
'I' => 'Garuda-Oblique.ttf',
'R' => 'Garuda.ttf',
),
'ind_bn_1_001' =>
array (
'R' => 'ind_bn_1_001.ttf',
),
'ind_gu_1_001' =>
array (
'R' => 'ind_gu_1_001.ttf',
),
'ind_hi_1_001' =>
array (
'R' => 'ind_hi_1_001.ttf',
),
'ind_kn_1_001' =>
array (
'R' => 'ind_kn_1_001.ttf',
),
'ind_ml_1_001' =>
array (
'R' => 'ind_ml_1_001.ttf',
),
'ind_or_1_001' =>
array (
'R' => 'ind_or_1_001.ttf',
),
'ind_pa_1_001' =>
array (
'R' => 'ind_pa_1_001.ttf',
),
'ind_ta_1_001' =>
array (
'R' => 'ind_ta_1_001.ttf',
),
'ind_te_1_001' =>
array (
'R' => 'ind_te_1_001.ttf',
),
'norasi' =>
array (
'B' => 'Norasi-Bold.ttf',
'BI' => 'Norasi-BoldOblique.ttf',
'I' => 'Norasi-Oblique.ttf',
'R' => 'Norasi.ttf',
),
'ocrb10' =>
array (
'R' => 'ocrb10.ttf',
),
'xbriyaz' =>
array (
'R' => 'XB Riyaz.ttf',
'B' => 'XB RiyazBd.ttf',
'BI' => 'XB RiyazBdIt.ttf',
'I' => 'XB RiyazIt.ttf',
),
'xbzar' =>
array (
'B' => 'XB Zar Bd.ttf',
'BI' => 'XB Zar BdIt.ttf',
'I' => 'XB Zar It.ttf',
'R' => 'XB Zar.ttf',
),
);
$this->sans_fonts = array('dejavusans', 'dejavusanscondensed', 'dejavusanslight', 'garuda');
$this->serif_fonts = array('dejavuserif', 'dejavuserifcondensed', 'norasi');
$this->mono_fonts = array('dejavusansmono', 'ocrb10');