odoo/enterprise#62583

Created by Fun Subscription - Sign - Cal, Ahmad Almaghraby (alah)
Merged at 310e3d3a015c68a31de7bee16221a7efd5c8cddb

Statuses:

Linked pull requests
label
odoo-dev:master-sign-add-arabic-reshaping-alah
head
41ff9846eded8751e81c857b89ea28c74497951f
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 depending on the surrounding letters.

task-3494707


This is what we had before: the letters are not connected, and they are in an isolated form.
image

This is what we have now: the letters displayed in the correct shape.
image