我正在尝试将标签的字体更改为“Museo_500italic.otf”我已将其导入我的项目并将其添加到 p-list,但它无法识别字体。几个月前,我用其他字体完成了它,但由于某种原因,这个字体不起作用。我是不是忘记了什么?
这就是我所拥有的:
这给了我 Museo-500 的字体:
self.createAccTxt.font = [UIFont fontWithName:@"Museo-500" size:17.5];
这些给了我默认字体:
self.createAccTxt.font = [UIFont fontWithName:@"Museo-500Italic" size:17.5];
self.createAccTxt.font = [UIFont fontWithName:@"Museo-500_Italic" size:17.5];
self.createAccTxt.font = [UIFont fontWithName:@"Museo-500-Italic" size:17.5];
self.createAccTxt.font = [UIFont fontWithName:@"Museo-500italic" size:17.5];
self.createAccTxt.font = [UIFont fontWithName:@"Museo-500_italic" size:17.5];
self.createAccTxt.font = [UIFont fontWithName:@"Museo-500-italic" size:17.5];