Jump to content

TCPDF ERROR: Could not include font definition file: courier


Recommended Posts

I am getting the following error under multiple conditions, but all seem to be related to invoices.


TCPDF ERROR: Could not include font definition file: courier


I get this when generating the invoice immediately after signup as part of the checkout process, and I get it when I click the "View PDF" or "Download PDF" buttons on the Admin Invoices page.


The only place I can find "courier" mentioned is in the define for PDF_FONT_MONOSPACED in class.tcpdf.php.


My invoicepdf.tpl makes no reference to "courier" or PDF_FONT_MONOSPACED. It has several

$pdf->SetFont('freesans' ...


Oh, and General Settings -> Invoices -> TCPDF Font Family is set to Helvetica.


I'm totally baffled (and a bit frustrated). Any ideas where I should look to find out why I'm getting this error?


Thanks in advance.

Link to comment
Share on other sites

  • 4 months later...
This topic is now closed to further replies.
  • 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