Author Topic: Dynamic Font display Partial characters  (Read 4279 times)

huixiong

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Dynamic Font display Partial characters
« on: May 09, 2013, 12:13:45 AM »
in android 4.0.4 system,when rebuild font texture, some characters lost in texture.
the lastest RequestCharactersIntexture() and rebuild callback function run in the same framecount.
it seem UIFont.characters save the lost characters ,but texture does not render them.
Is 3.6.1 fix the problem? I was not update it yet.

dlewis

  • Guest
Re: Dynamic Font display Partial characters
« Reply #1 on: May 09, 2013, 12:50:56 AM »
I think this was fixed in 2.6.1b/c so try making sure you are on the absolute latest NGUI

huixiong

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Re: Dynamic Font display Partial characters
« Reply #2 on: May 09, 2013, 03:11:51 AM »
I update to 2.6.1c, it still exits this problem. :'(

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Dynamic Font display Partial characters
« Reply #3 on: May 09, 2013, 07:24:43 AM »
Does Unity support what you're trying to do on Android? Maybe it's a platform limitation? You will have to investigate. The Request for glyphs in the texture happens on line 1085 of UIFont.cs.