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

Minecraft is rendering Unifont incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • None
    • 1.20.2, 23w42a
    • None
    • Plausible
    • Text

      Minecraft ignores empty spaces in fixed-width chars in Unifont and inserts extra spaces between every chars but this isn't a correct rendering. For example,

      1. Five Fullwidth Low Line chars (U+FF3F) should be rendered as a long connected underbar but Minecraft renders it as five separate underbars with 2px spaces between them.

      2. Circled Digit One (U+2460, ①) has empty space on its right side and Myanmar Letter O (U+1029, ဩ) has empty line on its left side. Therefore, "①ဩ" should be rendered with 2px gap between chars and "ဩ①" should be rendered without gap. However, Minecraft renders both of them with 1px gap between chars.

      3. The fonts included in a resource pack with size_overrides option "left": 0, "right": 15, should be rendered to 16px width but Minecraft renders it to 18px by inserting extra 2px spaces between chars. 

        1. correct.png
          correct.png
          1 kB
        2. incorrect.png
          incorrect.png
          1 kB

            Unassigned Unassigned
            hsee26 hsee26
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: