Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-109260

Full-width punctuation characters are rendered incorrectly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 1.18 Pre-release 3
    • Minecraft 1.10.2, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w14a, Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 1.13-pre6, 1.14.4, 19w36a, 1.16 Pre-release 3, 20w51a, 21w03a, 1.17, 1.17.1 Pre-release 1, 1.17.1 Release Candidate 1, 1.17.1
    • Confirmed
    • Rendering
    • Low

    Description

      The Bug

      Punctuation marks in CJK languages are supposed to be full-width (i.e. having the same width as a normal character), but Minecraft renders them incorrectly as half-width characters.

      Here is an example:

      Test string:

      测,试。测;试:测'试'"试"测(试)测、试《测》试
      

      In game:

      As you can see from the text box above, all the punctuation characters in the text string take up the same width as a Chinese character, while most of them in game does not have the correct horizontal bearing and advance.

      Affected characters:

      Potential Fix

      A fixed glyph_sizes.bin file provided by LakeJason can be found under attachments: glyph_sizes_new.bin (MC-231056).

      Attachments

        Issue Links

          Activity

            People

              grum [Mojang] Grum (Erik Broes)
              Meow-J Meow J
              Votes:
              12 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: