unicode data with custom font doesn't work properly in ipad
- by David Ohanyan
I am using custom font for label and string which I am getting from unicode characters.
And the font is not changing.
here is the snippet of my code:
NSString* str = @"\u05D0\u05D1\u05D2";
[mMatchingLabel setText:str];
mMatchingLabel.font = [UIFont fontWithName:@"David New Hebrew" size:26];
But when I write for example :
NSString* str = @"label"; [mMatchingLabel setText:str];
mMatchingLabel.font = [UIFont fontWithName:@"David New Hebrew" size:26];
The font effect is evident.
Can someone explain what's here wrong?