Author Topic: UILabel inline font replacement or image insert  (Read 2759 times)

Schmoots

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
UILabel inline font replacement or image insert
« 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!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UILabel inline font replacement or image insert
« Reply #1 on: June 26, 2014, 10:55:18 AM »
You can't change font sizes mid-sentence, but you can use [sub] or [sup] tags.