Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Reverse lines order in Persian and Arabic text wrap #53
Maybe this is not an issue but it can be a helpful answer that can save time for programmers who are speaking Persian (Farsi) or Arabic.
As you know, we cannot directly pass Persian (or Arabic) to
For example, if we have a text like:
and we directly pass it to the box, it will be like:
So we have to use a library like
Natives know that the output is in reverse order.
It should be:
So changes are required in
Then use the new prop inside
In your main class you have to detect Persian (or Arabic) with following regex and then pass a parameter to