TCPDF ERROR: Could not include font definition file: freesan

Phoca PDF - creating PDF documents in Joomla! CMS
engynazmy
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 28 Mar 2012, 13:02

TCPDF ERROR: Could not include font definition file: freesan

Post 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?
engynazmy
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 28 Mar 2012, 13:02

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

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
engynazmy
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 28 Mar 2012, 13:02

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

Post 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?
Post Reply