Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: sjsivak on April 24, 2014, 03:41:15 PM

Title: Bitmap Font Positioning Issues
Post by: sjsivak on April 24, 2014, 03:41:15 PM
I have tried to google this for the last hour or so and no luck. We are using NGUI 3.4.8 and having some problems with a bitmap font. The UILabel Overflow is set to ShrinkContent and it causes certain letters to appear inconsistently. Take a look at the screenshot, the problem is most apparent in the "i"s in "cities". Is this something we are doing wrong with the atlas? We have tried a few different fonts and we always see this problem. It goes away if we use bitmap fonts and choose not to scale it, but that is not going to work for us long term.

(http://i.imgur.com/YMOFgcV.png)
Title: Re: Bitmap Font Positioning Issues
Post by: ArenMook on April 25, 2014, 09:09:56 AM
It's just texture filtering. If you scale something, filtering kicks in and you either downsample or upsample the pixels, resulting in inconsistencies where it's not 1:1.