4ian / GDevelop

🎮 Open-source, cross-platform 2D/3D/multiplayer game engine designed for everyone.
https://gdevelop.io
Other
11.69k stars 887 forks source link

Punctuation is misplaced when RTL text is used in TextObject (Right To Left) #5693

Open D8H opened 1 year ago

D8H commented 1 year ago

Is there an existing issue for this?

Describe the bug

RTL texts are not displayed correctly in the editor and at runtime.

Steps to reproduce

As you can see the dot is on the wrong side.

GDevelop platform

Desktop

GDevelop version

5.2.172

Platform info

Windows 10 (probably the same with other OS)

Additional context

Related forum topic:

Previous work:

EyadMahm0ud commented 1 year ago

Moreover:

  1. Adding an English word (at least one letter) between two Arabic sentences switches between their positions (Especially in BBTexts). If you started with an English word, it will be on the left (should be on the right to read with the Arabic text from right to left).

  2. The same issue exists on the website GDevelop.io

InShot_٢٠٢٣١٠٢٣_١٦٤٥٢٣٣٠١.jpg