Al-Azhar

Archive for the ‘PDF’ Category

Arabic , PDF And Joomla!

Saturday, May 5th, 2007

Update August 2nd, 2007: I will be releasing this hack in the following few days Insha’Allah.

Update September 4th, 2007: I’ve released the code on SourceForge you can access it by checking out the CVS there.
The project url: http://sourceforge.net/projects/arabic-tcpdf

CVS Checkout command

cvs -z3 -d:pserver:anonymous@arabic-tcpdf.cvs.sourceforge.net:/cvsroot/arabic-tcpdf co -P artcpdf

It is a known fact that Joomla! 1.0.x can export content into pdf format, however, this feature doesn’t seem to be working well when used to export Arabic content to pdf format, either windows-1256 or UTF-8 encoded.

To address this issue, The guys at the Joomla! core has moved to TCPDF library to export pdf files, this library has support for images and more importantly UTF-8 which means it can -theoritaclly speaking- be used to handle pretty much ANY langauge, This is true for many Left-To-Right languages, however, For a Right-To-Left language like Arabic the situation is quite different I’ll try to brief the problem here.
(more…)

Get Firefox! Valid xHTML 1.1 Valid CSS tracker