Author Topic: UILabel 2nd character in string not always readable  (Read 7985 times)

Tripwire

  • Full Member
  • ***
  • Thank You
  • -Given: 9
  • -Receive: 0
  • Posts: 163
    • View Profile
UILabel 2nd character in string not always readable
« on: December 01, 2014, 09:00:18 AM »
Hi,

I'm having a problem with my App. I've switched from iOS to Android to finish the Android version (this bug didn't happen on iOS) but there seems to be a bug in the UILabel. I'm using UIFont since dynamic fonts are bugged in Unity3D. Check the screenshot below:


The grabled character is supposed to be an 'n'.

I'm scale tweening the this screen from 0.001f to 1f and sometimes the text (only 2nd character) of the label below the button is garbled. This also happens when there are more items in the list, but only to one item and only the 2nd character.

I'm using the latest NGUI version from the Asset Store and Unity 4.5.5p1 (because of orientation issues in Unity 4.5.5p5).

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UILabel 2nd character in string not always readable
« Reply #1 on: December 02, 2014, 11:38:06 AM »
Can't say I've ever seen this one, so there isn't much I can suggest. Since you say you are not using dynamic fonts, there is nothing in NGUI's code that would garble a character, whether it's scaled or not. If you don't do the scaling, does the issue still happen?

Tripwire

  • Full Member
  • ***
  • Thank You
  • -Given: 9
  • -Receive: 0
  • Posts: 163
    • View Profile
Re: UILabel 2nd character in string not always readable
« Reply #2 on: December 02, 2014, 04:24:46 PM »
I'll let you know tomorrow.

Tripwire

  • Full Member
  • ***
  • Thank You
  • -Given: 9
  • -Receive: 0
  • Posts: 163
    • View Profile
Re: UILabel 2nd character in string not always readable
« Reply #3 on: December 11, 2014, 04:29:38 AM »
I did some testing, and it seems to be solved with Unity 4.6