相关疑难解决方法(0)

相邻的"f"和"l"字符

出于某种原因,当我显示单词"Butterfly"(或带有"fl"的任何其他内容)时,"f"和"l"连接在顶部(见下图).字体是Century Gothic Bold.这是我用来设置UILabel的代码.从plist中检索标签的字符串:

UILabel *label = [[UILabel alloc] init];
label.text = [self.flashcardDelegate.alphabetArr objectAtIndex:index];
label.textColor = [UIColor colorWithRed:.733 green:0 blue:.03137 alpha:1];
label.backgroundColor = [UIColor clearColor];
label.frame = CGRectMake(ipad ? 210.0f : 65.0f, 
                         ipad ? 650.0f : 300.0f, 
                         ipad ? 340.0f : 185.0f, 
                         ipad ? 250.0f : 135.0f);
label.font = [UIFont fontWithName:@"CenturyGothic-Bold" size:ipad ? 200 : 100];
label.textAlignment = UITextAlignmentCenter;
Run Code Online (Sandbox Code Playgroud)

知道为什么会这样吗?谢谢.

截图

typography uilabel uifont ios ligature

0
推荐指数
1
解决办法
678
查看次数

标签 统计

ios ×1

ligature ×1

typography ×1

uifont ×1

uilabel ×1