Page 1 of 1

Automatic Line Break Typewriter for KOREAN

Posted: Wed Nov 16, 2022 8:24 am
by UrasawaX
Hello!

I'm currently experiencing some strange behaviour when adding the Korean translation to my game. While the lines break perfectly using latin letters between words, it doesn't work for Korean. It breaks a line in the middle of the word.

Example text:
평화주의자 왕은 산에서 내려오지 않습니다.

This is what I'm getting:
평화주의자 왕은 산에서 내려오지 않습니
다.

This is what I should get:
평화주의자 왕은 산에서 내려오지
않습니다.

I'm using the TextMesh Pro Typewriter Effect. What am I missing? Is there a way to solve this?

Thanks for your help!
Cheers!

Re: Automatic Line Break Typewriter for KOREAN

Posted: Wed Nov 16, 2022 9:21 am
by Tony Li
Hi,

The TextMeshProTypewriterEffect uses TextMesh Pro's built-in formatting for line breaks.

I can confirm that this happens with a plain TextMeshProUGUI component, without the typewriter effect. Would you please confirm the same thing and then report it in Unity's UGUI & TextMesh Pro forum section so the TextMesh Pro developer can fix it?

Re: Automatic Line Break Typewriter for KOREAN

Posted: Wed Nov 16, 2022 10:27 am
by UrasawaX
Oh, I was thinking it had something to do with the typewriter effect so I wasn't even considering to check the TMPro settings... It has a setting for "Korean Language Options - Use Modern Line Breaking"... Wow, sorry to have bothered you. :roll:

Cheers!

Re: Automatic Line Break Typewriter for KOREAN

Posted: Wed Nov 16, 2022 11:55 am
by Tony Li
No problem. I just learned about the Korean Language Options settings, so it was worthwhile for me, too! :-)