Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Schmoots on June 25, 2014, 08:29:10 PM

Title: UILabel inline font replacement or image insert
Post by: Schmoots on June 25, 2014, 08:29:10 PM
I assume that the answer is "no" but I figure I may as well ask if there is a way to change fonts within the text of a UILabel, specifically with dynamic fonts. Something like "Here is some different font text" to have the font switch inline. It looks like it would have to pull dynamic font characters from the Unity font textures and composite them to make a new material.  Alternatively, since my use would be a limited character set, inserting a bitmap image into the text would also work.

Thanks for your help!
Title: Re: UILabel inline font replacement or image insert
Post by: ArenMook on June 26, 2014, 10:55:18 AM
You can't change font sizes mid-sentence, but you can use [sub] or [sup] tags.