ERROR - Font (../ttfonts/symbol.ttf) NOT ADDED as it is not Unicode encoded, and cannot be used by mPDF

Information


Font names as parsed by mPDF

"Arial" font is available as arial
"Courier New" font is available as couriernew
"Georgia" font is available as georgia
"Times New Roman" font is available as timesnewroman
"Verdana" font is available as verdana

Sample config_fonts.php file

Remember to edit the following arrays to place your preferred default first in order:
$this->fontdata = array (
  'arial' => 
  array (
    'R' => 'arial.ttf',
    'B' => 'arialbd.ttf',
    'BI' => 'arialbi.ttf',
    'I' => 'ariali.ttf',
  ),
  'couriernew' => 
  array (
    'R' => 'cour.ttf',
    'B' => 'courbd.ttf',
    'BI' => 'courbi.ttf',
    'I' => 'couri.ttf',
  ),
  'georgia' => 
  array (
    'R' => 'georgia.ttf',
    'B' => 'georgiab.ttf',
    'I' => 'georgiai.ttf',
    'BI' => 'georgiaz.ttf',
  ),
  'timesnewroman' => 
  array (
    'R' => 'times.ttf',
    'B' => 'timesbd.ttf',
    'BI' => 'timesbi.ttf',
    'I' => 'timesi.ttf',
  ),
  'verdana' => 
  array (
    'R' => 'verdana.ttf',
    'B' => 'verdanab.ttf',
    'I' => 'verdanai.ttf',
    'BI' => 'verdanaz.ttf',
  ),
);
$this->sans_fonts = array('arial', 'verdana');
$this->serif_fonts = array('georgia', 'timesnewroman');
$this->mono_fonts = array('couriernew');