Author Topic: (3.0.8f5) Bitmap labels ignore pixel size  (Read 1473 times)

Asse

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 70
    • View Profile
(3.0.8f5) Bitmap labels ignore pixel size
« 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.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: (3.0.8f5) Bitmap labels ignore pixel size
« Reply #1 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;