Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Rednaxela on February 28, 2014, 12:05:29 PM

Title: Embedded font for UILabel.trueTypeFont
Post by: Rednaxela on February 28, 2014, 12:05:29 PM
Hello!
Please suggest how to to set embedded trueTypeFont for UILabel in code?
Thanks!
Title: Re: Embedded font for UILabel.trueTypeFont
Post by: ArenMook on February 28, 2014, 05:59:21 PM
UILabel.ambigiousFont = yourFont;
Title: Re: Embedded font for UILabel.trueTypeFont
Post by: Rednaxela on March 03, 2014, 03:32:22 AM
Thanks for the reply!
But I meant how can I set exactly embedded font (in case of Windows it's Arial)?
Title: Re: Embedded font for UILabel.trueTypeFont
Post by: ArenMook on March 04, 2014, 12:55:16 AM
Oh, that. Unity has Arial font present at all times. It shows up when you do a resources check, but it may not be there when you do a build. It's excluded from certain Windows 8 platforms for example. It's best not to use it for anything other than testing purposes.