RTLTMPro icon indicating copy to clipboard operation
RTLTMPro copied to clipboard

Hebrew input start with english show wrong string order

Open zhllineme opened this issue 4 years ago • 4 comments

image

I see that the project add support hebrew, so I clone the project and test it. Just as above show, the string show wrong, the correct string order show as "asםפ123=+"

zhllineme avatar Oct 21 '21 03:10 zhllineme

This is a known issue for any RTL language. Happens to Arabic / Farsi as well. #70 You can use the "force fix" checkbox under RTL settings to force RTLTMPro to treat the text as RTL.

hk1ll3r avatar Oct 21 '21 03:10 hk1ll3r

@hk1ll3r , i check "force fix"。but it seem wrong too. image the correct order will be show "asםפ123=+"

zhllineme avatar Oct 21 '21 03:10 zhllineme

This is a more complex scenario involving how we handle RTL sections with numbers and symbols. I see the bug but am not sure what the rules are. I'm busy this week will take a look next week.

hk1ll3r avatar Oct 21 '21 17:10 hk1ll3r

@hk1ll3r ,I find a open source deal with rtl, https://sourceforge.net/projects/nbidi/, it can solve my problem. But i find it has one problem, it can't support multiple line perferct. I think this will help you.

zhllineme avatar Nov 19 '21 04:11 zhllineme