Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: BLOOD585 on March 26, 2015, 02:34:50 AM
-
Hello,
We faced a problem with displaying dynamic fonts on Amazon Fire Phone device. Version of NGUI is 3.8.0.
When minimizing the app and getting OnApplicationFocus(false) event I add a new panel with pictures and labels and then open the app again, as a result the font is either missing or displaying incorrectly. Even deleting this panel and creating a new one does not help to solve the issue. Also using NGUITools.Broadcast("Refresh"); does not help.
День добрый!
На Amazon Fire Phone проблема в отображении шрифтов. Версия NGUI 3.8.0, использую динамический шрифт.
Сворачиваю приложение и при этом, при событии потери фокуса, добавляю новую панель с шрифтами и картинками. Когда снова разворачиваю приложение, то через раз шрифт отсутствует либо отображаются просто прямоугольниками. В последствии, даже если удалить эту панель и создать заново, проблема остается.
Пробовал использовать NGUITools.Broadcast("Refresh");, не помогло.
-
It's one of many problems with Unity's dynamic font system. This is why there is a warning shown every time you try to use this feature. I don't recommend using them at all.
-
i had same problem.
i solved that by this way.
use coroutine and wait until end of frame in OnApplicationFocus
you will be ok.