Topic: TCPDF error: Could not include font definition file: dejavu.php

Hi,

Just upgraded to 2.3.7 and now get this error message when i try to run pdf reports.

all the posts relating to this appear to be years old and the download links for fonts are dead.

I have downloaded the dejavu ttf files but I have no idea how to install them.

In 'Install/Update Languages'  there are NO languages listed at all (even though it says 1 can't be deleted).

Any Suggestions?

Ta

Re: TCPDF error: Could not include font definition file: dejavu.php

This was strange. Please activate the $go_debug flag to 1 in config.php. This will catch any errors for us.

/Joe

Re: TCPDF error: Could not include font definition file: dejavu.php

Hello,

  This issue can be solved using the FrontAccounting Fonts at download link. Please try to downloads the dejavu font at

https://frontaccounting.com/wbt/modules … hp?file=57

Follow the step below to deployed into your FrontAccounting.
1) Extract the dejavu.zip
     Files will be extracted as below:
     - dejavu.ctg.z
     - dejavu.php
     - dejavu.z
   
  2) Use the FTP program (Filezilla) to migrate all the 3 files into reporting/fonts folder.
  3) Login to your FrontAccounting and access your PDF report now. It should work now.

  Hope it help.

Cheers,

tclim

Re: TCPDF error: Could not include font definition file: dejavu.php

Thanks, please report back with these errors.

/joe

Re: TCPDF error: Could not include font definition file: dejavu.php

thanks tclim.
that's works for me.

Re: TCPDF error: Could not include font definition file: dejavu.php

Hi jojobbing,

   you're most welcome. Hope you enjoy it.

Cheers,

tclim