-
Bug
-
Resolution: Unresolved
-
None
-
1.16.2, 1.16.4, 20w51a, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1 Pre-release 1, 1.18.1, 1.18.2, 1.19 Pre-release 1, 1.19 Pre-release 3, 1.19 Pre-release 5, 1.19, 1.19.1, 1.19.2, 1.19.3, 23w07a, 1.19.4 Pre-release 3, 1.19.4 Pre-release 4, 1.19.4, 23w14a, 23w18a, 1.20 Pre-release 1, 1.20 Pre-release 4, 1.20 Pre-release 5, 1.20 Pre-release 7, 1.20 Release Candidate 1, 1.20, 1.20.1 Release Candidate 1, 1.20.1, 23w31a, 23w33a, 23w35a, 1.20.2 Pre-release 2, 1.20.2, 23w40a, 23w43b, 23w44a, 23w45a, 1.20.3 Pre-Release 3, 1.20.4, 23w51b, 1.20.5 Pre-Release 1, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4
-
None
-
Confirmed
-
Internationalisation
-
Normal
-
Platform
The Bug
Minecraft tries to insert line breaks at whitespaces for long sentences, making it produce awkward layouts for languages that don't use spaces as the word delimiter like Chinese and Japanese.
This article by 3TUSK does an excellent job at explaining and code analyzing the bug and provides potential fixes to the issue.
Original Description
At line breaking rules for not European characters in any version of Minecraft, it is not perform completly.
So I can only menthon Japanese rule because I'm Japanese, these characters must not come at the beginning of lines:
- Punctuations: "。" and "、"
- Sutegana, small lettered Kanas e.g. "ゃ", "ゅ", "ょ", "っ" or others.
- End of brackets. e.g. "」", "】"
reference: https://en.wikipedia.org/wiki/Line_breaking_rules_in_East_Asian_languages
And, maybe only Japanese language, "Full-width" characer will not ruled general line breaking rule.
The issue of line breaking rules can be menthoned in other languages, for examples Chinese(zh_ch, zh_tw).
P.S. Possibly this issue is easy to appear in languages that not use (half-width) space.
ja_jp - "。" comes at the beginning of a line in Advancement description.
ja-jp - "。" and "、" comes at the beginning of a line in Realm introduction.
zh-tw - "。" comes at the beginning of a line in Distortion effects description.
- is duplicated by
-
MC-233459 Japanese line break position is unnatural
- Resolved