waffle-stomper / Ghostwriter

Ghostwriter - A Book Work Mod for Minecraft
GNU General Public License v3.0
34 stars 6 forks source link

Minecraft bug: Bold styling causes rendering issues #36

Closed waffle-stomper closed 1 year ago

waffle-stomper commented 3 years ago

Edit: It looks like there's a ticket in the official bug tracker for this issue: https://bugs.mojang.com/browse/MC-181539

When bold styling carries on to a new line, the cursor appears in the wrong place. There are probably other issues too.

Steps to reproduce:

  1. Open up a new book in the vanilla interface
  2. Paste in the section sign(§) then type l (lowercase L - the format code for bold)
  3. Type: This is a test of bold formatting
  4. Note that the cursor is rendered under the 'i' and 'n', instead of after the 'g'

I think this might have been why extra format codes were being inserted before (#13, #14, #21)

I'm not really sure what to do about this. Adding extra format characters at the start of every line fixes it, but that will cause issues like #13 and #21. Thoughts?

waffle-stomper commented 1 year ago

Stale. Closing