Open MANassar opened 12 years ago
Salam,
I have tried this word with a font "me_quran" and it is rendered ok, it may be the font problem, try this font
Also here is my code: UITextView* lala = (UITextView)[self.view viewWithTag:100]; lala.text = [[ArabicConverter alloc] convertArabic:@"مرحباُ"]; UIFont font = [UIFont fontWithName:@"me_quran" size:23]; NSLog(@"font: %@",font); [lala setFont:font];
Sorry for Late Reply :)
it happen to me on the fonts Adobe Arabic and many other fonts and it's not only for (tanween) it's for senteces that have no special characters like this (لا هاتف يزهم ولا زاحد جاب) which have nothing special but it gives me random chinees character
it depends on the font it self, can u send me an example font
yes here is a link http://www.2shared.com/file/uUaGh5Fr/AdobeArabic-Regular.html
You can re produce problem with two combinations in same string, like: لا لا . I fixed it, committed the code, made the pull request.
where did you committed it? last update on svn was 8 moths ago
Trying to convert text like مرحباُ in a UITextView, I can see the string correctly changed in the debug console. But in the text view, only the tanween is visible and the rest of the word isnt. I've tried several fonts to no avail! Could u please help?! Or direct me on how to fix this problem myself?!