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

Text in right-to-left languages is rendered left-to-right #324

Open
eyalroz opened this issue Dec 16, 2024 · 1 comment
Open

Text in right-to-left languages is rendered left-to-right #324

eyalroz opened this issue Dec 16, 2024 · 1 comment
Labels
enhancement New feature or request layout Layouting

Comments

@eyalroz
Copy link

eyalroz commented Dec 16, 2024

About 8% of the world uses a right-to-left script for their native language. A much larger fraction (probably over 15%) use an RTL script for a secondary language. And yet - dillo does not seem to support right-to-left scripts. Taking the most common one, Arabic: When we visit a website in Arabic, e.g.:

https://ar.wikipedia.org/

both the text on the tab, and in the rendered page, is rendered left-to-right (also, with the letters disconnected, but that will probably work better when you use a proper Unicode rendering engine). Diacritics also seem to be messed up (they're done through character which result in modifier glyphs).

@eyalroz eyalroz changed the title Text in right-to-left languages is rendered left-to-right, in UI and on page Text in right-to-left languages is rendered left-to-right Dec 16, 2024
@rodarima
Copy link
Member

RTL support would be nice, but I would need some help as I don't know any RTL language. Feel free to work on a patch.

Diacritics and other modifiers are a completely different issue, possibly fixed on the new FLTK, so lets focus on RTL first.

@rodarima rodarima added enhancement New feature or request layout Layouting labels Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request layout Layouting
Projects
None yet
Development

No branches or pull requests

2 participants