Author Topic: Dynamic font randomly don't show properly  (Read 55389 times)

ntopia

  • Newbie
  • *
  • Thank You
  • -Given: 6
  • -Receive: 0
  • Posts: 15
    • View Profile
Re: Dynamic font randomly don't show properly
« Reply #45 on: July 22, 2013, 10:08:49 PM »
Is it fixed  in Unity 4.2 ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Dynamic font randomly don't show properly
« Reply #46 on: July 23, 2013, 05:13:18 AM »
I don't think so. The problem with the fonts is that no one quite knows how it all works here in Unity. It was written in a... shall we way... somewhat haphazard manner. Things work -- sort of -- somehow -- most of the time. We're changing it for the new UI system, so you can be sure that it will be fixed for NGUI at the same time as well. Just not in 4.2.

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
Re: Dynamic font randomly don't show properly
« Reply #47 on: July 23, 2013, 05:11:11 PM »
there's any ETA for this? Unity 5?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Dynamic font randomly don't show properly
« Reply #48 on: July 23, 2013, 05:55:12 PM »
It was promised in the 4.X cycle, so that's where you will find it. I can't elaborate more than that though. The rest will be revealed at Unite 2013!

gdeglin

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 3
  • Posts: 18
    • View Profile
Re: Dynamic font randomly don't show properly
« Reply #49 on: August 16, 2013, 04:41:26 PM »
This definitely seems like it only affects XHDPI devices (320 pixel density). We've been able to consistently reproduce it with the Galaxy S4, HTC One, HTC One X in the english language version of our game.

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
Re: Dynamic font randomly don't show properly
« Reply #50 on: August 18, 2013, 02:09:58 PM »
Hey Aren, in the new release it says: Fix for issues with the dynamic fonts..

Are this issues? hte missing characters?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Dynamic font randomly don't show properly
« Reply #51 on: August 18, 2013, 02:59:30 PM »
All of them. I changed when the characters get requested from the font. This theoretically should resolve all issues. It'll be up to you guys to try it out though.

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
Re: Dynamic font randomly don't show properly
« Reply #52 on: August 18, 2013, 06:46:48 PM »
Cool, I'm going to try it tomorrow!
I need to save memory from japanese and korean font textures.

Simurr

  • Guest
Re: Dynamic font randomly don't show properly
« Reply #53 on: August 19, 2013, 02:15:14 PM »
I would love to test this for our issue where non-latin characters do not show up in a Windows 8 Metro build using 4.2.  Any idea when this will be up on the asset store?

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
Re: Dynamic font randomly don't show properly
« Reply #54 on: August 19, 2013, 02:51:18 PM »
I just tested on and doesn't work. Still missing some characters in the screens. I've to 'go back' and come back to see it right.

Edit Note:
I tested on Samsung Nexus 2.
« Last Edit: August 19, 2013, 03:31:47 PM by jeldrez »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Dynamic font randomly don't show properly
« Reply #55 on: August 20, 2013, 02:43:52 PM »
Curious. Even the odd "flicker" issue I was able to reproduce is gone with the latest version, and I can't repro this happening anymore. Does it happen anywhere other than the mobile device?

kimsama

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 9
    • View Profile
Re: Dynamic font randomly don't show properly
« Reply #56 on: August 21, 2013, 02:43:44 AM »
For the problem which is randomly disappearing of dynamic fonts, also seeing the following page may be helpful:

https://github.com/myevan/unity-examples

We've been testing that problem on various devices and it is known as it is only happen on some Android devices.

And it seems to be a bug on Unity side, especially inside of Font. RequestCharactersInTexture() function.

See the code how to fix that disappearing problem on that page:

https://github.com/myevan/unity-examples/blob/master/Assets/App/Scripts/DynamicFontTester.cs


As it is mentioned, the bug is on Unity side but it seems that it can be quickly fixed for NGUI's dynamic fonts.

Hopefully it will be...

-Kim

[EDIT]
When the standard version of 2.6.5 will be available on assetstore? I read the release note which says that dynamic fonts problem solved in 2.6.5.



jarjin

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 28
    • View Profile
Re: Dynamic font randomly don't show properly
« Reply #57 on: August 21, 2013, 09:21:31 AM »
Hope fixed!~

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Dynamic font randomly don't show properly
« Reply #58 on: August 21, 2013, 09:55:31 AM »
Is that example reported to Unity as a bug? If so, what's the case #?

kimsama

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 9
    • View Profile
Re: Dynamic font randomly don't show properly
« Reply #59 on: August 22, 2013, 12:19:00 AM »
Quote
Is that example reported to Unity as a bug? If so, what's the case #?

I'm not sure it was reported as a bug or not. Let me check it to whom committed that to the github.