TMP color problem when switch languages

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Harry
Posts: 6
Joined: Mon Aug 08, 2022 8:09 am

TMP color problem when switch languages

Post by Harry »

Hi, Tony!

I am using Text Mesh Pro in Bubble Subtitle Panel.
Everything looks good in default language. But when I switch languages, the text becomes dark.

upd:
I realized that this is due to the fact that I use "Localized Fonts asset"
But if you use Text (Not TMP), then there is no such problem.
Image
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: TMP color problem when switch languages

Post by Tony Li »

I'll investigate this and get back to you, probably with a patch in 1-2 days. I'll also be adding per-language font scaling to the Localized Fonts asset -- so if your default font is Arial 20 point, you can say for example that the 'fr' localization should use Bangers at 50% the default font size, or 10 point.
Harry
Posts: 6
Joined: Mon Aug 08, 2022 8:09 am

Re: TMP color problem when switch languages

Post by Harry »

Hi Tony!
Is there any news on this issue? I started using a Text Animator asset that only works with TMP. So it became even more relevant for me.
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: TMP color problem when switch languages

Post by Tony Li »

Hi,

Have you updated to DS version 2.2.32? If not, please back up your project and update.

If you're using 2.2.32 already, make sure the color's alpha value is set to 255, not 0.
Harry
Posts: 6
Joined: Mon Aug 08, 2022 8:09 am

Re: TMP color problem when switch languages

Post by Harry »

I missed this update. Everything is working fine now. Thanks!
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: TMP color problem when switch languages

Post by Tony Li »

Glad to help!
Post Reply