Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: shokinhan on July 29, 2013, 12:44:38 AM

Title: Abouy UIAnchor halfPixelOffset
Post by: shokinhan 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?


Title: Re: Abouy UIAnchor halfPixelOffset
Post by: ArenMook 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.