Change Material on Textmesh Pro

More
5 years 11 months ago #3039 by dereklam0528
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

Please Log in or Create an account to join the conversation.

More
5 years 11 months ago #3040 by Frank
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 following user(s) said Thank You: dereklam0528

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #3286 by dereklam0528
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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.236 seconds
Template by JoomlaShine