Konash / arabic-support-unity

This plugin allows you to use accurate and correct Arabic text in your game or 3D application. Supports Tashkeel and Hindu numbers. Supports C# and JavaScript. Supports 4 Persian Characters.
MIT License
220 stars 64 forks source link

Some Persian letters are not correctly connected #28

Closed idbrii closed 5 years ago

idbrii commented 6 years ago

Take this word: گرافیک

I put that into ArabicGUITextExample and got this:

ArabicGUITextExample

However, it should look like this:

correct

I don't read Persian. I had this report from a user. I don't understand how I could go about fixing this. How do you determine what character to map to?

Looks like the problematic character is:

U+06CC | ی | Arabic Letter Farsi Yeh

idbrii commented 6 years ago

Searching through unicode tables and I found Arabic Letter Farsi Yeh Isolated Form which exists as IsolatedArabicLetters.AlefMaksora (but is commented out a lot -- not sure why).

Adding that mapping makes the text render correctly (to my eyes). I'll make a PR.