Welcome,
Guest
. Please
login
or
register
.
April 21, 2026, 04:50:42 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
[UILabel] multi font in one label
« previous
next »
Print
Pages: [
1
]
Author
Topic: [UILabel] multi font in one label (Read 18211 times)
gyd
Jr. Member
Thank You
-Given: 2
-Receive: 0
Posts: 87
[UILabel] multi font in one label
«
on:
September 22, 2016, 02:44:44 AM »
is it possible to add a tag to switch font in a label like:
He is a
Super Star
, I love him.
or even a tag to change the font size :
He is a [size=36]Super Star[/size], I love him.
thanks
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: [UILabel] multi font in one label
«
Reply #1 on:
September 23, 2016, 03:49:29 PM »
No, NGUI's labels don't allow font switching in the middle of the line. You can use [ sub ] and [ sup ] tags, as well as [ b ] and [ i ], but that's it.
Logged
gyd
Jr. Member
Thank You
-Given: 2
-Receive: 0
Posts: 87
Re: [UILabel] multi font in one label
«
Reply #2 on:
September 24, 2016, 04:14:07 PM »
yes, i know it's not for now, what i asked is...will it possible in the future updates
?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: [UILabel] multi font in one label
«
Reply #3 on:
September 25, 2016, 08:03:33 PM »
I may add support for multiple bitmap fonts at some point, assuming they all use the same atlas -- but it would be a "maybe". I tend to add features I find concrete use for. Adding font switching in the middle of text never seemed like a useful thing for game UIs.
Logged
gyd
Jr. Member
Thank You
-Given: 2
-Receive: 0
Posts: 87
Re: [UILabel] multi font in one label
«
Reply #4 on:
September 26, 2016, 04:43:59 PM »
okay, thanks anyway
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
[UILabel] multi font in one label