我想在我的iphone应用程序中使用字体"MgOpen Modata".但我在Property inspector的字体列表中没有看到它.
我该如何使用这种字体呢?
我想在我的iphone应用程序中使用字体"MgOpen Modata".但我在Property inspector的字体列表中没有看到它.
我该如何使用这种字体呢?
Info.plist
:用Fonts provided by application
键添加一个新条目.在下面的例子中,我添加了字体"DejaVu Sans Mono":
在应用程序中,可以使用[UIFont fontWithName:@"DejaVuSansMono-Bold" size:14.f]
.
或者如果你想在html/css中使用它,只需使用font-family:DejaVu Sans Mono;
Note:这在iOS 3.2及更高版本中可用.