2

我正在使用从 unicode 字符获得的标签和字符串的自定义字体。而且字体没有变化。这是我的代码片段:

 NSString* str = @"\u05D0\u05D1\u05D2";
[mMatchingLabel setText:str];
mMatchingLabel.font = [UIFont fontWithName:@"David New Hebrew" size:26];

但是当我写例如:

NSString* str = @"label";  [mMatchingLabel setText:str];
mMatchingLabel.font = [UIFont fontWithName:@"David New Hebrew" size:26];

字体效果很明显。

有人可以解释这里出了什么问题吗?

4

0 回答 0