Author Topic: Blurry text on dynamic fonts  (Read 4277 times)

nopecio

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 37
    • View Profile
Blurry text on dynamic fonts
« on: December 06, 2013, 11:58:05 AM »
Hi, i just made a change in my GUI which resulted in updating the atlas, which in turn made all my labels blurry.
Before to make the labels crispers i just increased the font size, but now that's not working and my text is looking awful.
Any suggestions?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Blurry text on dynamic fonts
« Reply #1 on: December 06, 2013, 02:21:02 PM »
Working with atlases implies bitmap fonts, but adjusting the font size implies dynamic fonts. Which one is it then? Select the label, set it to auto-resize overflow and see it in its natural size.

nopecio

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 37
    • View Profile
Re: Blurry text on dynamic fonts
« Reply #2 on: December 06, 2013, 02:27:57 PM »
Is both, my fonts are dynamics.
But they started to blur when i modified my atlas (maybe it's a coincidence), but the thing is all my labels are blurry.
This doesn't happen to new labels, but even new labels are not as crisp as they were before

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Blurry text on dynamic fonts
« Reply #3 on: December 07, 2013, 12:36:36 AM »
Select your UI Root and hit ALT+SHIFT+P to make it pixel-perfect. Maybe it is, as you said, a coincidence, and something got moved in the hierarchy making it not pixel perfect. Also note that in NGUI 3.0.6 and earlier you need to have your widgets under a center-based UIAnchor with half-pixel offset checked, and UIRoot needs to be set to PixelPerfect as well.