Hello Guest

Author Topic: Support for dynamic fonts  (Read 6717 times)

ktealby

  • Newbie
  • *
  • Posts: 2
    • View Profile
Support for dynamic fonts
« on: February 03, 2013, 09:14:13 am »
Does the 2D Toolkit support dynamic fonts for mobile devices as became available under Unity 4?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Support for dynamic fonts
« Reply #1 on: February 03, 2013, 12:38:50 pm »
No it doesn't. You can use dynamic fonts from Unity4 independently to tk2d, though - there shouldn't be any issues mixing them.

ktealby

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Support for dynamic fonts
« Reply #2 on: February 03, 2013, 06:28:04 pm »
Thanks for the quick response.

fsadeq

  • 2D Toolkit
  • Sr. Member
  • *
  • Posts: 353
    • View Profile
Re: Support for dynamic fonts
« Reply #3 on: November 04, 2013, 01:43:04 pm »
I'm using the method you posted here: http://unikronsoftware.com/2dtoolkit/forum/index.php?topic=2454.0

However, I'm a little confused on what the point in using the new material with 2kToolkit/GuiText shader is? I don't notice any difference except for the fact that I can't change text colors (I can if I change it on the material, but then I'd have to have a different material for each color). Is this method outdated? Is there a better way to use dynamic fonts? Thanks.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Support for dynamic fonts
« Reply #4 on: November 04, 2013, 05:53:30 pm »
The GUIText shader  makes the shader sort correctly with other sprites and text meshes. As far as I remember the Unity default shader simply didn't sort properly.