RTLTMPro
RTLTMPro copied to clipboard
when text have Tashkel like "هاُني" the word count is 2 not 1
when text have Tashkel like "هاُني" the word count is 2 not 1 , it consider from index 0 to Tashkel a word and the rest word
I don't quite understand your problem.
Where do you see the word count
?
And "هاُني" is one word. I don't understand why it should be counted as two.
m_TextMeshPro.text = "هاُني"; wordCount= m_TextMeshPro.textInfo.wordCount; // this is 2 not one m_TextMeshPro.text = "هاني"; wordCount= m_TextMeshPro.textInfo.wordCount; // this is 1
the .textInfo.wordCount is 2 when using "ٌ" or any Tashkeel , for instance , if you have a sentance with 3 word that have Tashkeel , the textInfo.wordCount will be 6 instead of 1
its a confirmed bug , I've report it and unity opened case 1179861 , should be fixed soon