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

Font character textures ignore whitespace after, but not before

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.1, 1.21.2 Release Candidate 1
    • None
    • Community Consensus
    • Resource Packs, Text

      The bug

      Font characters will ignore any whitespace after the character's texture in the texture file. However, preceding whitespace will still be counted as part of the character.

      It is therefore impossible to have a font character with whitespace after it as part of said character.

      How to reproduce

      1. Download and apply the attached resource pack
      2. Type this: |¬|

      Expected results

      The distance between the central character and outer bars would be identical. Either both gaps would be counted as part of the character, or ignored outright.

      Actual results

      It is much closer on the right.

        1. 2024-10-19_14.04.47.png
          50 kB
          Connor Steppie

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: