Author Topic: TCPDF ERROR: Could not include font definition file: helvetica  (Read 447 times)

carsten888

  • Jr. Member
  • **
  • Posts: 232
    • pages-and-items.com
I get this message on a blank page when trying to save the status of an order to 'confirmed' on administrator/index.php?option=com_virtuemart&view=orders
(because the paypal token failed to update the completed payment (which is a recurring issue, but nevermind that now) )

Quote
TCPDF ERROR: Could not include font definition file: helvetica

When I click back and reload the list, the order is set to 'confirmed' but obviously something went wrong in the creation of the invoice pdf.

How to solve that error?
Do I need to install a VM plugin font?

StefanSTS

  • Global Moderator
  • Jr. Member
  • *
  • Posts: 417
  • VirtueMart Version: VM 4.2 on Joomla 4.5
Re: TCPDF ERROR: Could not include font definition file: helvetica
« Reply #1 on: July 03, 2019, 19:18:18 pm »
I guess you need to wait for TCPDF 1.0.8 to appear here:
http://dev.virtuemart.net/projects/tcpdf/files

Your version number might help too.
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your life shop! Use Alpha versions only if you know what risk you are taking.

ironbone

  • Beginner
  • *
  • Posts: 12
  • A beginner
Re: TCPDF ERROR: Could not include font definition file: helvetica
« Reply #2 on: July 18, 2019, 11:14:57 am »
I use the 1.0.8 version and I get the same problem with freemono

ironbone

  • Beginner
  • *
  • Posts: 12
  • A beginner
Re: TCPDF ERROR: Could not include font definition file: helvetica [solved]
« Reply #3 on: August 29, 2019, 21:38:47 pm »
The problem is not VM. Another plugin load anover instalation of  tcpdf library before the VM does.
In my case it was System - DPCalendar plugin

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9918
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: TCPDF ERROR: Could not include font definition file: helvetica
« Reply #4 on: September 06, 2019, 20:01:22 pm »
Very interesting hint, thank you.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/