How to implement Chinese languages line break rules with ugui text(not textmeshpro)

Here’s the rule. Line breaking rules in East Asian languages - Wikipedia

What is the reason for not using TMP which has support for proper line breaking for CJK which I further improved in the latest releases.

:sweat_smile:Just because the TMP Dynamic font setting is more complicated. Arial font is enough for me, I don’t want to add more font resources.

The process may seem complicated but it is not. It is actually pretty simple if you watch the 2 videos I linked below.

In the end, it mostly comes down to picking the right font file. A font file like NotoSans-CJK covers Latin and CJK.

The Arial font file included in Unity does not contain CJK characters. As such, you end up using some OS font file which will be different on each platform.

Take a look at the following two videos which explains how to use the dynamic system with multi atlas texture to create a font asset that is capable of handling every single character contained in the font file.

thank you for your reply. In the end, I still realized the Chinese display with TMP.