Automatic Line Break Typewriter for KOREAN

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
UrasawaX
Posts: 13
Joined: Mon Jan 27, 2020 7:52 am

Automatic Line Break Typewriter for KOREAN

Post 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!
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: Automatic Line Break Typewriter for KOREAN

Post 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?
UrasawaX
Posts: 13
Joined: Mon Jan 27, 2020 7:52 am

Re: Automatic Line Break Typewriter for KOREAN

Post 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!
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: Automatic Line Break Typewriter for KOREAN

Post by Tony Li »

No problem. I just learned about the Korean Language Options settings, so it was worthwhile for me, too! :-)
Post Reply