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

The underlines are not correctly displayed in RTL #124

Open
uniyeh opened this issue Jan 30, 2024 · 0 comments
Open

The underlines are not correctly displayed in RTL #124

uniyeh opened this issue Jan 30, 2024 · 0 comments

Comments

@uniyeh
Copy link

uniyeh commented Jan 30, 2024

I've tried to create Arabic content with segoeui SDF Arabic from RTLTMPro, but unfortunately, it fails to display underlines correctly, with some pixels appearing incomplete, as in the attached image.
segoeui

After I looked into this issue, I discovered that the problem doesn't stem from RTLTMPro but arises when utilizing TMP_Text.m_isRightToLeft to reverse the text order.
The underline display problem occurs when enabling "Enable RTL Editor," irrespective of the font asset or language.

Is it acceptable to make a workaround to set up the RLT without reversing via TMPro?

@uniyeh uniyeh changed the title The underlines are not fully displayed in RTL. The underlines are not correctly displayed in RTL Jan 30, 2024
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