Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request][Next Steps] Further support for mixed RTL and LTR text #4

Open
PrinOrange opened this issue Aug 12, 2024 · 0 comments

Comments

@PrinOrange
Copy link
Owner

Although this project provides basic support for RTL layout, it is only effective in pure RTL language mode, and cannot handle the problem of mixing RTL text with LTR text well.
Imagine the following situation:

  • Chinese and English are mixed, because both Chinese and English are LTR texts, so LTR mode can be used directly
  • An Arabic text is mixed with a few English words or sentences. At this time, the text is in RTL mode, but for English words, the original order of letters must be maintained, and RTL cannot be applied.
  • An English article is mixed with a few Arabic words or sentences. Similarly, the correct writing order should be maintained for Arabic.
  • For articles with a similar proportion of English text and Arabic text, such as English and Arabic translation and comparison texts, then it involves not only adjusting a certain word or sentence, but also adjusting the entire layout.

So I will take time to focus on solving this problem later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant