文本未在iOS上使用本机字体显示 [英] Text not showing using Native Font on iOS

查看:55
本文介绍了文本未在iOS上使用本机字体显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用新的Codenameone插件(未经验证),并决定尝试使用新的本机字体。

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

我最初使用Roboto ttf字体,将其完全更改为 native:MainLight 并删除了。

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

在Android和Simulator上运行良好,但所有文本分别在分别运行iOS 9.2和9.1的iPhone和iPad上消失了。

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

我叫:

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

返回true,然后弹出对话框。

which returned true and the Dialog pops up.

我错过了一些东西还是必须添加任何BuildHint?

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

推荐答案

与这些新字体类型有关的临时问题。

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.

谢谢!!

这篇关于文本未在iOS上使用本机字体显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆