TCPDF: Could not include font definition file: helvetica
Posted: Thu Sep 05, 2019 11:16 am
hello friends, we just received a second ticket about the same problem from Virtuemart invoices, possibly only on 3.4.2 virtuemart version.
invoices in virtuemart cannot be created (via checkout or via backend) and the error is:
we did not check real internals of this problem on 3.4.2 on why VM defines wrong paths, but a quick fix is to modify:
\libraries\vendor\tecnickcom\tcpdf\config\tcpdf_config.php
find:
and replace with:
best regards, stan
invoices in virtuemart cannot be created (via checkout or via backend) and the error is:
- Code: Select all
TCPDF ERROR: Could not include font definition file: helvetica
we did not check real internals of this problem on 3.4.2 on why VM defines wrong paths, but a quick fix is to modify:
\libraries\vendor\tecnickcom\tcpdf\config\tcpdf_config.php
find:
- Code: Select all
define("K_PATH_MAIN", VMPATH_LIBS . $cyu.'/');
and replace with:
- Code: Select all
define("K_PATH_MAIN", $cyu.'/');
best regards, stan