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

Hangul fonts are rendered with missing pixels

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w20a
    • 23w45a, 1.20.4, 23w51b, 1.20.5 Release Candidate 2, 1.20.6
    • None
    • Community Consensus
    • Internationalisation, UI
    • Normal
    • Platform

      In Unifont 15.1.01 and later, Hangul glyphs (Korean characters) have been shifted one pixel to the right. In the previous version of Unifont, Hangul glyphs have empty line on its right side but it is changed to have empty line ont its left side in the new version. Because minecraft uses only 15x16 pixel of 16x16 pixel Unifont, some Hangul glyphs are rendered with some missing pixels after minecraft upgrade the Unifont to a new version. In the new version of Unifont, pixel number 1 to 15 should be used instead of 0 to 14 for Hangul glyphs. It can be done with below size_overrides.

      "size_overrides": [

        { "from": "\u1100", "to": "\u11ff", "left": 1, "right": 15 },

        { "from": "\u3130", "to": "\u318f", "left": 1, "right": 15 },

        { "from": "\uac00", "to": "\ud7ff", "left": 1, "right": 15 }

      ]

        1. missing.png
          missing.png
          18 kB
        2. image-2023-12-14-19-59-10-190.png
          image-2023-12-14-19-59-10-190.png
          21 kB
        3. FontFix.zip
          2 kB

            boq [Mojang] Bartosz Bok
            hsee26 hsee26
            Votes:
            8 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: