Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Mauri on October 27, 2013, 10:32:33 AM
-
I've been using a scrolling area, which is similar to the Quest example from NGUI, to display some kind of Patch Notes. It works perfectly and currently looks like this:
(http://www.loaditup.de/files/791699_5kkazmm66p.png)
As you might notice, the text itself in the field is not sharp anymore. This was different before I've updated to 3.0.0. (I'm using 3.0.3c now). Problem here: I don't know how to change this back to normal again ??? I've tried Overflow = "ShrinkContent" instead of "ResizeFreely" and Keep crisp set to "Always". This, however, didn't change anything visually. (Maybe I just misunderstand this new feature ::)).
All other labels I have are sharp in their presence. And they all share the same settings:
(http://www.loaditup.de/files/791700_wsfhphcts8.png)
What did I do wrong?
-
You need to use whole integer numbers for the transform's position. You're at -3.99575 right now. Easiest way to fix it visually -- select the UIRoot and hit ALT+SHIFT+P.
-
Tried that and it re-positioned it. But no sharp text whatsoever :-\
-
I have the same issue...I'm new to NGUI and I just updated to the new 3.0.3 version today after I read about this Crisp function but when I deploy on iOS or Android devices the text is not crisp.
I use the Overflow - ShrinkContent option and all my labels have integer numbers in their Transform's position. The fonts I imported are set to Rendering Mode - OS Default and the Include Font Data option is unchecked.
Looking forward to some hint ;)
-
UIRoot must be set to pixel-perfect mode, not fixed size. Fixed size won't give you crisp UIs.
When deploying to mobile platforms you need to ensure that the TTF font gets imported with the "Dynamic" character set, and that you're using Unity 4. Unity 3 doesn't support dynamic fonts on mobiles.
-
oh, but if I want to work for different mobile platforms I need to keep the root to 'FixedSizeOnMobile' right? Isn't there a way to have crisp text while keeping the fixed size option active?
-
Please constrain your questions to one thread. I hate repeating myself, especially several times in 5 minutes.
FixedSizeOnMobile = not pixel perfect. No, there is no way to have perfectly crisp text with that option. You actually need to choose PixelPerfect option for it to be pixel perfect, and thus crisp.