Open OdzOdz opened 9 months ago
I am currently facing issues related to Right-to-Left (RTL) support in KivyMD. It's important to note that these problems stem from the base Kivy library and affect components such as labels and text inputs. Although I'm using KivyMD, the challenges seem to originate from the underlying Kivy framework.
I expect that the RTL support in KivyMD should seamlessly handle Persian text in components like labels and text inputs, maintaining the proper order of characters.
Should be considered as part of #8444
I didn't understand?! Have you found a suitable solution for the problem I mentioned? Do not show the text in reverse (display it from top to bottom).
The issue is already captured. You might find this helpful: https://medium.com/@ahmedfgad/supporting-arabic-alphabet-in-kivy-for-building-cross-platform-applications-7a1e7c14a068
@OdzOdz: Kivy cannot handle RTL text seamlessly.
ElliotGarbus has provided a link above that may help you work around the Kivy problems by using the Python Arabic Reshaper Library.
However, I think Kivy should handle this automatically.
I have collected together all of the bug reports provided over several years related to RTL languages and Unicode issues, and put the list into #8444.
I want the Kivy developers realise it isn't just one small issue, but a large issue that affects many users. I want the Kivy developers to fix all the problems, not just one or two.
I was making sure when people are looking at #8444, there is a mention of this issue there too.
ok thanks
Software Versions
Describe the bug Issue with font_name setting: When setting font_name, the Persian text is displayed, but the order of characters is incorrect. For example, "سلام" is displayed as "مالس".
Expected behavior A clear and concise description of what you expected to happen.
To Reproduce A short, runnable example that reproduces the issue with latest kivy master.
Code and Logs and screenshots
Additional context Add any other context about the problem here.