odoo/odoo#165774

Created by Fun Subscription - Sign - Cal, Ahmad Almaghraby (alah)
Merged at 6e14bd5db3ae98186af624cf937e98f664d5895c

Statuses:

Linked pull requests
label
odoo-dev:master-sign-add-arabic-reshaping-alah
head
55d8d37d7375ca6cedd4114b799880ab141fe415
merged
2 years ago by Misc, Arnaud Joset (arj)
odoo/odoo odoo/enterprise
master #165774 #62583

[IMP] sign: add arabic letters reshaping

Before this commit: Arabic letters were not displayed properly. In particular they have the correct direction but lack ligature, since arabic letters have different shapes depending on the surrounding letters. They were displayed in one shape only (The isolated shape).

This commit aims to address this issue by using the arabic_reshaper library. That would simply replace each letter with the unicode of the correct shape.

task-3494707