Page 1 of 1

TCPDF ERROR: Could not include font definition file: freesan

Posted: 28 Mar 2012, 13:25
by engynazmy
Hello,

I'm using Joomla2.5 with Arabic language "ar-AA" and phoca PDF v.2.0.4, when clicking the PDF button .. I get this error "TCPDF ERROR: Could not include font definition file: freesans" ... kindly, can any help me?

Re: TCPDF ERROR: Could not include font definition file: fre

Posted: 28 Mar 2012, 15:03
by engynazmy
Hi again,

I uploaded "com_phocapdf_freesans" .. but the opened/downloaded PDF is not good at all for the Arabic content, all text letters appears as squares! .. any ideas?

Re: TCPDF ERROR: Could not include font definition file: fre

Posted: 02 Apr 2012, 21:30
by Jan
Hi, then seems that freesans does not include arabic characters, so some specific file with arabic characters needs to be created :idea:

https://www.phoca.cz/documents/49-phoca- ... -component

Jan

Re: TCPDF ERROR: Could not include font definition file: fre

Posted: 22 Apr 2012, 13:08
by engynazmy
Hello Jan,

Thanks for your help .. I downloaded the TCPDF library where I got the ara.php file and placed it under administrator/components/com_phocapdf/assets/tcpdf/config/lang .. but I couldn't know how to set this file to be the language used by default ... did what I do is right and what do I miss?