Author Topic: UILabel encoding and dynamic fonts  (Read 6266 times)

kittikun

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 5
  • Posts: 46
    • View Profile
UILabel encoding and dynamic fonts
« on: June 06, 2014, 05:21:37 AM »
Hi,

I was wondering if there was a way for encoding to be used with UILabel. For example, taking image from an atlas.

Would that be difficult to achieve ? What approach would you recommend ?

Thanks

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UILabel encoding and dynamic fonts
« Reply #1 on: June 06, 2014, 09:18:55 PM »
I don't understand the question. What encoding? Do you mean BBCode? What does it have to do with an atlas? Dynamic fonts don't use atlases.

kittikun

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 5
  • Posts: 46
    • View Profile
Re: UILabel encoding and dynamic fonts
« Reply #2 on: June 08, 2014, 10:55:02 PM »
Oh sorry I was not clear, I am talking about

http://www.youtube.com/watch?v=JbqfK3mU140

This seems to be a bitmap font feature only so what would be a good way to get something similar using dynamic fonts ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UILabel encoding and dynamic fonts
« Reply #3 on: June 09, 2014, 03:16:43 AM »
I'll make it work for dynamic fonts when Unity fixes the numerous issues with dynamic fonts (so hopefully 4.6). I'm trying to keep dynamic fonts less appealing so people stick to bitmap fonts, or I'll keep getting bug reports about issues in Unity that I can't do anything about. I've posted the disadvantages to dynamic fonts on many occasions now. They vary from performance degradation to the more serious missing letters.