Welcome, Guest
Username: Password: Remember me

TOPIC: Change Material on Textmesh Pro

Change Material on Textmesh Pro 7 months 8 hours ago #3039

Hello,

I am very new to this asset. But I am using Textmesh pro to display my text. Is it possible to change its material when displaying different languages?

Thanks in advance.

Derek
The administrator has disabled public write access.

Change Material on Textmesh Pro 7 months 5 hours ago #3040

  • Frank
  • Frank's Avatar
  • Offline
  • Administrator
  • Posts: 1149
  • Thank you received: 248
  • Karma: 75
Hi,
Yes, you can change the TextMeshPro font/material.

It can be done by one of two ways:

1- Add a secondary term and set it to TMP Font or Material type. Then set your font assets or materials per language.
inter-illusion.com/assets/I2Localization...FontperLanguage.html

or

2- In your translation, set the name of the Font/Material as a tag at the beginning of the text
(e.g. instead of "This is an example", add "[MaterialName]This is an example"

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.
The following user(s) said Thank You: dereklam0528

Change Material on Textmesh Pro 1 month 1 week ago #3286

Hello,

I have some Vietnamese translation, but the font is not exactly like English font. And because Textmesh Pro has this fallback feature, it will try to look for English character first, which means for example "Thành Tích Ẩn", it will use English font for "Th" and then "à" will use the Vietnam font. Then "n" will be the English font again. This looks very strange, I have already used both main term and secondary term, I don't know what else I can do. Can you please help?

Thanks.
The administrator has disabled public write access.
Time to create page: 0.091 seconds
Template by JoomlaShine