axxs Posted August 28, 2008 Share Posted August 28, 2008 When trying to send an invoice from the invoice page I get : TCPDF error: Could not include font metric file [helvetica]: /var/www/vhosts/domain.com/httpdocs/includes/fonts/helvetica.php any ideas? 0 Quote Link to comment Share on other sites More sharing options...
axxs Posted August 28, 2008 Author Share Posted August 28, 2008 Also happens trying to view teh invoice PDF. I might add this is on WHMCS Version: 3.6.2 0 Quote Link to comment Share on other sites More sharing options...
jvkranenburg Posted September 5, 2008 Share Posted September 5, 2008 That's true, the TCPDF in version 3.6.2 includes only one font that cannot be overritten!! It's a bug in TCPDF. But already solved only not yet included in WHMCS. In the include directory there is the file tcpdf.php, around line 2367 you will find the font forced to 2 default fonts, one for UTF-8 mode and one for none UTF-8 mode. Debugging the tcpdf file will let it work, but hopefully in version 3.7.0 the new TCPDF is included without this problem. 0 Quote Link to comment Share on other sites More sharing options...
CW2305 Posted September 30, 2009 Share Posted September 30, 2009 Hi. I have version 4 installed and am getting this error (at least after pressing Download PDF from an invoice page in Admin): TCPDF error: Could not include font metric file [helveticaB]: /home/[...]/public_html/myzone/includes/fonts/helveticab.php I looked at the tcpdf.php file but couldn't see what to do with it. Any suggestions? Thanks. CW 0 Quote Link to comment Share on other sites More sharing options...
CW2305 Posted October 1, 2009 Share Posted October 1, 2009 Hi again. The latest upgrade has fixed this issue. Thanks! CW 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.