Text not showing using Native Font on iOS

半世苍凉 提交于 2019-12-24 16:25:38

问题


I'm using the new Codenameone plugin (unverified) and decided to try out the new native font.

I initially used Roboto ttf font which I completely changed to native:MainLight and removed.

It works fine on Android and Simulator but all text disappeared on iPhone and iPad running iOS 9.2 and 9.1 respectively.

I called:

if (Font.isNativeFontSchemeSupported()){
        Dialog.show("Supported?", "Yes it is supported" + Font.getDefaultFont(), "Ok", null);
}

which returned true and the Dialog pops up.

Am I missing out something or do I have to add any BuildHint?


回答1:


There seems to be a temporary issue related to these new font types.

We fixed it and it should already work for new builds going out right now.

Thanks!



来源:https://stackoverflow.com/questions/33933463/text-not-showing-using-native-font-on-ios

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!