a small php library to fix writing Arabic text on images with GD
Original code written by Abd Allatif Eymsh, fixed and updated by me :).
- you may need to edit the hex code of some letters depending on the font you are using.
- you may face some proplems with unusual words.
- the font path could be different on linux or macOS (the current example is for windows).
- the recommended way is to use
text2uni
function becuase it will handle multi words and english words. word2uni
function takes one word only.