Mojira Archive
MC-267578

Messages in chat HUD do not rewrap on font reload

When fonts are affected by a resource reload, the messages in the chat HUD do not get rewrapped, even if this becomes necessary due to changes in font metrics.

Reproduction

  1. Place the attached resource pack in the resourcepacks directory (but don’t enable it yet). This resource pack changes the width of the space character to 16.
  2. Enter a world and send a long chat message.
  3. Load the widespace resource pack.
  4. Note that the previous message overflows the right edge of the chat HUD.
  5. Send the same message again.
  6. Unload the widespace resource pack.
  7. Note that the second message wraps too narrowly.

Duplicate

+merlan #flirora

2023-12-24, 09:09 PM

2023-12-24, 09:56 PM

2023-12-24, 09:51 PM

0

1

Unconfirmed

(Unassigned)

gui-textbox

1.20.4

-