I'm getting the following error when I try and generate a PDF using the mPDF class:
TTF file "C:/wamp/www/inc/mpdf/ttfonts/verdana.ttf": invalid checksum 20f65173c11 table: DSIG (expected 65173c11) I've uploaded the font files to my ttfonts directory and defined the font in config_fonts.php like this:
"verdana" => array( 'R' => "verdana.ttf", 'B' => "verdanab.ttf", 'I' => "verdanai.ttf", 'BI' => "verdanaz.ttf", ), I only see the error when I turn on font error reporting in the config settings. When I turn error reporting off, the PDF is generated, but the font being used is not Verdana.
Any idea on what I'm doing wrong?