Welcome,
Guest
. Please
login
or
register
.
February 17, 2025, 08:33:34 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
(3.0.8f5) Bitmap labels ignore pixel size
« previous
next »
Print
Pages: [
1
]
Author
Topic: (3.0.8f5) Bitmap labels ignore pixel size (Read 1752 times)
Asse
Jr. Member
Thank You
-Given: 0
-Receive: 0
Posts: 70
(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.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
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:
NGUIText
.
fontScale
=
mScale
;
To this:
NGUIText
.
fontScale
=
(
bitmapFont
!=
null
)
?
mScale
*
bitmapFont
.
pixelSize
:
mScale
;
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
(3.0.8f5) Bitmap labels ignore pixel size