Jump to content

TCPDF error: Could not include font metric file [helvetica]


axxs

Recommended Posts

  • 2 weeks later...

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.

Link to comment
Share on other sites

  • 1 year later...

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated