Hello,

thanks for the answer. I'm not familiar with github.
Do you mean this program branch?:
https://github.com/yantar92/org/tree/feature/org-fold%2Bpatches
Kind regards,

Frank

On 5/7/21 4:50 PM, Ihor Radchenko wrote:
Fr Ml <fr_ml@t-online.de> writes:

Hello,
there is an old problem with table alignment. It's mentioned here:
https://emacs.stackexchange.com/q/30495/11498

It occurs as far as I know only in 4 cases (last 4 rows):

| 2 latin letters                                 | ab | (2 glyphs)            |
| 2 arabic letters                                | من | ok (2 glyphs)         |
| same but with 2 diacritics                      | مِنْ | also ok  (2 glyphs)   |
| the arabich letter ا and then ل isn't a problem | ال | also ok (2 glyphs)    |
| but ل and then ا is a problem (case1)           | لا | not ok (it's 1 glyph) |
| also ل and then أ (case2)                       | لأ | " (it's 1 glyph)      |
| also ل and then إ (case3)                       | لإ | " (it's 1 glyph)      |
| also ل and then آ (case4)                       | لآ | " (it's 1 glyph)      |
Can you try with org-fold branch [1]? It implements a new way to
calculate string width.

[1] https://github.com/yantar92/org

Best,
Ihor