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

Kerning between Common script (Zyyy) characters is wrong for RTL text #824

Open
khaledhosny opened this issue Mar 13, 2024 · 2 comments
Open

Comments

@khaledhosny
Copy link
Collaborator

Kerning between glyphs for Common script (Zyyy) is output in a lookup that assumes these glyphs will always be LTR, but for RTL text they will be laid out in RTL direction, so the kerning will be wrong.

@khaledhosny
Copy link
Collaborator Author

We currently put them in kern_Default lookup and add it to all scripts regardless of the script direction, but for RTL scripts there should be another kern_Default_RTL lookup with the kerning values set up for RTL direction.

@anthrotype
Copy link
Member

anthrotype commented Mar 13, 2024

sounds good to me. Maybe you'd like to work on it? :)

I wonder why we hadn't thought about this solution before.

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

2 participants