The bug
When typing long text in chat with Force Unicode Font on and then turning off the option, the text enlarges and goes past the edge of the chat background. When doing the same but with the option off and then turned on afterwards, the text shrinks but does not attempt to fit itself up to the edge of the same background.
How to reproduce
Force Unicode Font on and then off
Make sure Force Unicode Font is on before typing long text in chat
Observe the text after turning the option off
→ ❌ The text goes past the edge
Force Unicode Font off and then on
Make sure Force Unicode Font is off before typing long text in chat
Observe the text after turning the option on
→ ❌ The text does not fit itself accordingly up to the edge
Linked issues
is duplicated by 2
Attachments
Comments 4
I think this is related to MC-198584
@unknown, you refer to this bug report. Would you mind if you mention another bug report instead of this one?
Can confirm in 1.20.4, the same effect can be seen when changing resource packs with custom fonts that modify line lengths. Relates to MC-254220.
Can confirm in 1.16.4 RC1, my guess is that when you send a message, the game automatically formats so it fits into the chat box, lowering the text when it reaches the end of the grey chat text box. Since the force unicode font is smaller than the game's default font, the game can fit more writing on 1 line, and when you switch back to the default font, the text is now larger and longer and hence goes through the grey chat box.