I am trying to import a font into TCPDF but I get gibberish text instead? What could I be doing wrong? Thanks in advance!
Here is the code:
$fontname = TCPDF_FONTS::addTTFfont('Montserrat-ExtraBold.ttf', 'TrueTypeUnicode', '', 96);
$pdf->SetFont($fontname, '', 8, '', true);
And here is the result: