Skip to content

RightLoLeft issues with Skia render #348

@ziz2020

Description

@ziz2020

Hello Skia Team.

There are real problems in displaying the Arabic language for mobile programming in FireMonkey with components such as Tedit or Tmemo or the search element of the ListView component and others and with all Delphi versions the same problem.

I will give you an example

1: Place the Tedit component on the form and write in any Arabic sentence.
2: Now click on the beginning of the sentence and then try to delete the last letter of the sentence and here the penultimate letter will always be deleted and not the last letter.
3: Also go to the end of the sentence and try to make a space after the end of the sentence by clicking on the space key several times and then the whole sentence will behave incorrectly and start moving to the left.
4: Try writing in the Tedit component of the ListBox component which searches the contents of the component and then you will know that there is a problem with the abnormal behavior of the component.

There are other problems but they can be addressed programmatically with code and these are the most important problems that I found and which made me move to Android Studio to complete the work instead of Delphi.

Finally, thank you for your efforts.

But if possible, can you tell me the unit in Skia and the function responsible for drawing texts in components...?

Maybe I can try to solve the problem myself, as I am more experienced than you in my language.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions