Welcome, Guest
Username: Password: Remember me

TOPIC: TextMeshPro Linked Text Font/Material

TextMeshPro Linked Text Font/Material 3 months 1 week ago #3118

  • bkane
  • bkane's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
We're using TextMeshPro with Overflow set to "Linked", which allows text to spill over into a separate game object with another TMPro component on it.

When we localize this, only the first TMPro text has the Secondary Term (Font or Material) applied to it. Any further TMPro objects in the chain don't get the font/material swap.

I'm able to work around this for now by modifying LocalizeTarget_TextMeshPro_Label.cs to walk through the TMPro.linkedTextComponent chain when applying a new font or material. Thought I'd bring it up in case somebody else runs into this!

I believe we are using:
TextMeshPro: Release 1.0.55.2017.1.0b12 (seems a bit old - August 2017?)
Unity: 2017.4.2f2
I2Loc: 2.8.6
The administrator has disabled public write access.

TextMeshPro Linked Text Font/Material 3 months 1 week ago #3119

  • Frank
  • Frank's Avatar
  • Offline
  • Administrator
  • Posts: 1123
  • Thank you received: 240
  • Karma: 70
Hi,
Thanks for letting me know.
I wasn't aware of the linkedTextComponent feature of TMPro. Will add support for it asap.

Thanks,
Frank
Are you :-) Give I2L 5 stars!
Are you :-( Please lets us know how to improve it!
To get the betas as soon as they are ready, check this out
The administrator has disabled public write access.

TextMeshPro Linked Text Font/Material 2 months 5 days ago #3160

  • studenman
  • studenman's Avatar
  • Offline
  • Senior Member
  • Posts: 62
  • Thank you received: 1
  • Karma: 1
Can't you just add the Font or Material localization component to the linked TextMeshPro object? It doesn't have to be a secondary term, it can be the primary localization on the linked object, or you can make the Primary term "none" and have the same secondary term.
Follow Tiny Bubbles Development:
Twitter | Facebook | Web
The administrator has disabled public write access.

TextMeshPro Linked Text Font/Material 1 month 2 weeks ago #3172

  • Frank
  • Frank's Avatar
  • Offline
  • Administrator
  • Posts: 1123
  • Thank you received: 240
  • Karma: 70
v2.8.8a1 is now in the beta folder.
It adds support for linked TextMeshPro objects, for both changing Fonts and Materials.

Hope that helps,
Frank
Are you :-) Give I2L 5 stars!
Are you :-( Please lets us know how to improve it!
To get the betas as soon as they are ready, check this out
The administrator has disabled public write access.
Time to create page: 0.229 seconds
Colors