mpcabd / python-arabic-reshaper

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

A new feature that should be added. #42

Closed ahmed4end closed 4 years ago

ahmed4end commented 4 years ago

there are some fonts with unique way for merging two letters in a row into one letter here is an example: the letters: "نجـ" the ordinary way to visualize it is: image but there is a way used in many fonts that automatically merges any certain two letters in a row like: the letters: "نجـ" the other cool way to visualize it is: image and there are too many letters that go into one letter with unique look like this, for example : image

mpcabd commented 4 years ago

It's already supported, but disabled by default, you need to enable it in your own config, like {'ARABIC LIGATURE NOON WITH JEEM': True} or in your .ini file like ARABIC LIGATURE NOON WITH JEEM = yes. See the default config here