Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Asse on January 06, 2014, 07:32:28 AM

Title: (3.0.8f5) Bitmap labels ignore pixel size
Post by: Asse on January 06, 2014, 07:32:28 AM
In the newest version, UILabels using bitmap fonts (dynamic fonts not tested) ignore the pixel size of the atlas. Can also be reproduced within the examples.
Title: Re: (3.0.8f5) Bitmap labels ignore pixel size
Post by: ArenMook on January 06, 2014, 10:14:17 AM
Thanks, you can fix it locally by modifying lines 1030 and 1497 in UILabel.cs from this:
  1. NGUIText.fontScale = mScale;
To this:
  1. NGUIText.fontScale = (bitmapFont != null) ? mScale * bitmapFont.pixelSize : mScale;