In the name of Allah, Most Gracious, Most Merciful
Using primary source fonts originating from the King Fahed Glorious Qur'an Printing Complex in Saudi Arabia. As seen on Quran.com
- GD
- GD::Text::Align
- DBI
- DBD::SQLite2
- Ahmed El-Helw
- Nour Sharabash
- Bassem Shama
The original fork was made to be used in *NIX systems. I have a Windows machine and needed to use the project and thus this fork.
- Install a perl distribution. I used ActiveState's ActivePerl after encountering some issues with Dwimperl. Being a perl noob and handicapped on a Windows machine, I decided not to go debugging.
- Install the required perl modules using ppm.
- Open a (Windows) command prompt in the project folder directory and execute commands to generate your required ayaat/pages. I was not able to run it in a bash emulator but then again I'm a novice.
Ayaat in batch:
perl generate.quran.ayah.pl --width 162 --em 1.62 --batch
Single Ayah:
perl generate.quran.ayah.pl --width 262 --em 1.38 --sura 2 --ayah 255
etc...
Note: The links of examples from the original project are dead. I might add some to this fork later on.
- From the original repo: Refactor and improve generate.ayah.pl
- Check if all the functions with folder links are edited to work in Windows. Currently only single ayaat and pages have been tested but that too not extensively.
The code is copyleft GPL (read: free) but the actual fonts and pages (in the 'data' directory) belong to the [King Fahed Glorious Qur'an Printing Complex in Saudia Arabia (http://www.qurancomplex.com)