mpcabd / python-arabic-reshaper

Reconstruct Arabic sentences to be used in applications that don't support Arabic
MIT License
395 stars 81 forks source link

font reem kufi #94

Open yudisaefulrizal opened 4 months ago

yudisaefulrizal commented 4 months ago

I created code to write Arabic text to an image using the text draw pill lib. in some fonts it works well, but when using the reem kufi font the printed text is not written well and instead tends to be random and illegible

ravarage commented 4 months ago

check https://github.com/mpcabd/python-arabic-reshaper/blob/master/arabic_reshaper/letters.py and modify it based on the font you need