Could not include font definition file
-
Hi,
I am getting an error for packing slip generation as follows:
TCPDF ERROR: Could not include font definition file: helveticaI have tried updating to the latest version and it still does this, it does this on my local copy of the website and on qa / staging servers.
I don’t think its specifcially enviroment related as my local copy is different from qa / live hosting.
I am running PHP 7.4 WP / WordPress 5.6
I just tried WP 5.8.1 since I noticed I wasn’t on the latest version.
WooCommerce is version 4.9.3
I have checked the font’s folder in TCPDF and can see the files are there, not getting any PHP errors, I downloaded the latest TCPDF from github as another test and tried those versions of the font’s it didn’t help.
Also I am not set to use Helvetica, I have set the PDF’s to courier so I am not sure why it says Helvetica instead.
Has anyone got anything else I can try to debug this issue or advice? I did search this specific error in relation to TCPDF and found some mention of it on various forums but non of those solutions worked.
Not sure if it makes any difference but wordpress is Bedrock based (installed via composer).
The topic ‘Could not include font definition file’ is closed to new replies.