Home » Php » Fatal error: Uncaught Error: Call to undefined method TCPDF::addTTFfont() in C\… Stack trace: #0 {main} thrown in index.php on line

Fatal error: Uncaught Error: Call to undefined method TCPDF::addTTFfont() in C\… Stack trace: #0 {main} thrown in index.php on line

Posted by: admin June 30, 2018 Leave a comment

Questions:

I need to add Custom font using TCPDF. I followed the procedure as mentioned in TCPDF documentation like Conversion of TTFont to TCPDF fonts & add it fonts folder & define font in tcpdfconfig_fonts.php, & tried to call that function. This error is thrown.Though TCPDF has a function addTTFont, it is throwing error as Call to Undefined font Can anyone suggest me, whats wrong

Thanks in advance

Answers: