Author Topic: Abouy UIAnchor halfPixelOffset  (Read 2250 times)

shokinhan

  • Guest
Abouy UIAnchor halfPixelOffset
« on: July 29, 2013, 12:44:38 AM »
The class of  uianchor  has such as code:
            if (halfPixelOffset && mIsWindows)
            {
               v.x -= 0.5f;
               v.y += 0.5f;
            }


When I use the uianchor and the halfPixelOffset is true , but the text font changed fuzzy!

Why?



ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Abouy UIAnchor halfPixelOffset
« Reply #1 on: July 29, 2013, 09:25:45 AM »
It should be clear if you're using a Pixel-Perfect UIRoot setting and everything is correct (select the UIRoot and hit ALT+SHIFT+P).

It's also a good idea to not use a center pivot with labels, instead using bottom-left or top-left.