RTLTMPro icon indicating copy to clipboard operation
RTLTMPro copied to clipboard

The underlines are not correctly displayed in RTL

Open uniyeh opened this issue 1 year ago • 0 comments

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 avatar Jan 30 '24 09:01 uniyeh