为什么Wingdings不能在iOS 5上运行?为什么我不能在我的iPhone应用程序中使用Wingdings?

时间:2021-09-03 07:17:25

I built a test app. All it does is populate a label on the screen with text and then try and change the font. 90% of the time this works just fine, even when I am using custom fonts that I have imported. However, I have not been able to get Wingdings to function even though I installed it in my resources folder and added it to the info.plist

我构建了一个测试应用程序它只是在屏幕上用文本填充标签,然后尝试更改字体。即使我使用我导入的自定义字体,90%的时间也可以正常工作。但是,即使我将它安装在我的资源文件夹中并将其添加到info.plist中,我也无法让Wingdings正常运行

self.theLabel.font = [UIFont fontWithName:@"Wingdings-Regular" size:64.0f];

I thought maybe it was the name I was using, but I ran a test and found that not only is the family Wingdings installed, but Wingdings-Regular is the proper name. I ran experiments where I switched out "Wingdings-Regular" with other variations and noticed that when I do enter something that is garbage, the size is ignored. Using "Wingdings-Regular" the size is not ignored, but the letters show up normally instead of the Symbols I need. How do I fix this problem?

我想也许这就是我使用的名字,但我进行了测试,发现不仅是Wingdings系列安装,而且Wingdings-Regular是正确的名称。我进行了实验,其中我用其他变体切换出“Wingdings-Regular”,并注意到当我输入垃圾的东西时,大小会被忽略。使用“Wingdings-Regular”时,大小不会被忽略,但字母会正常显示,而不是我需要的符号。我该如何解决这个问题?

I am pulling my hair out.

我把头发拉了出来。

1 个解决方案

#1


1  

Unicode is required to access the symbols in Wingdings or other symbol fonts. See How to use Wingdings font in Java Swing for more discussion. UIKit and Java are both fundamentally based on Unicode. See http://unicode.org for more details.

需要Unicode才能访问Wingdings或其他符号字体中的符号。有关更多讨论,请参阅如何在Java Swing中使用Wingdings字体。 UIKit和Java都基于Unicode。有关详细信息,请参见http://unicode.org。

#1


1  

Unicode is required to access the symbols in Wingdings or other symbol fonts. See How to use Wingdings font in Java Swing for more discussion. UIKit and Java are both fundamentally based on Unicode. See http://unicode.org for more details.

需要Unicode才能访问Wingdings或其他符号字体中的符号。有关更多讨论,请参阅如何在Java Swing中使用Wingdings字体。 UIKit和Java都基于Unicode。有关详细信息,请参见http://unicode.org。