-
Notifications
You must be signed in to change notification settings - Fork 33
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
Support for RTL languages #9
Comments
Yes, RTL languages are something that I want to support, but I'm not sure when I'll get around to it. I will have to do more research on how they are implemented in TrueType first. Things get complicated though if an application wishes to support mixed LTR and RTL text (which is very likely). By the way, thanks for the sample text. |
Thank you for your reply and for your great work so far. I'm personally not bothered about LTR and RTL being mixed within the same text. But I wonder if that issue applies to numbers in Persian, which are written LTR within text that is RTL, as shown below.
The sample text is the poem Bani Adam written by Iranian poet Saadi in 1258. I sourced the text from https://en.wikipedia.org/wiki/Bani_Adam 🙂 |
When you say disjoined, you mean that text shaping is missing right? Which instead really an RTL issue. RTL, without bidirectional text support, is simply solved by mirroring text without mirroring the glyphs (I think there are some glyphs you have to substitute for mirrored versions, such as brackets), but text shaping is more involved. |
RTL languages, such as Persian, are rendered as though they are LTR text, and therefore appear disjointed as shown below.
Are there any plans to add support for RTL languages?
Many thanks.
Persian test text
The text was updated successfully, but these errors were encountered: