Core Text带有自定义字体的换行符字符

时间:2014-04-01 10:10:56

标签: ios iphone core-text uifont custom-font

当我在UILabel中绘制NSAttributedString时,如果涉及自定义字体,则会在每个换行符(' \ n')字符处插入引号字符。

这个问题不会出现在标准/内置iOS字体中,但仅仅有一个字符可以自定义一个和屁股......

使用多种自定义字体iOS6和iOS7进行测试,因此不仅仅是这种自定义字体'问题。

仅限内置字体的示例 - 一切正常:

enter image description here

但只需使用自定义字体设置文本的任何部分 - 我们就转到这里:

enter image description here

enter image description here enter image description here

enter image description here

enter image description here

enter image description here

0 个答案:

没有答案