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?
TCPDF ERROR: Could not include font definition file: freesan
-
- Phoca Newbie
- Posts: 3
- Joined: 28 Mar 2012, 13:02
-
- Phoca Newbie
- Posts: 3
- Joined: 28 Mar 2012, 13:02
Re: TCPDF ERROR: Could not include font definition file: fre
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?
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?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: TCPDF ERROR: Could not include font definition file: fre
Hi, then seems that freesans does not include arabic characters, so some specific file with arabic characters needs to be created
https://www.phoca.cz/documents/49-phoca- ... -component
Jan
https://www.phoca.cz/documents/49-phoca- ... -component
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 28 Mar 2012, 13:02
Re: TCPDF ERROR: Could not include font definition file: fre
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?
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?