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

Unicode Character is Rendered with Space In-between (Undesired for Emoticons)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.1, 1.16.4
    • None
    • java version "1.8.0_201"
      Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
      Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
      Windows 10
    • Confirmed
    • Rendering, UI

      While implementing emojis to a custom texture pack i found that Unicode characters are being rendered with a gap in between using their specific Unicode designations. This is resulting in somewhat undesired behaviour as it is rendering a big old line straight through the character.

      Code for the Bitmap provided Unicode character (Victory Hands medium-dark skin tone Emoji).

      {
                  "type": "bitmap",
                  "file": "minecraft:emojis/v13/u270c-ud83c-udffd.png",
                  "ascent": 50,
                  "height": 50,
                  "chars": [
                      "\u270C\uD83C\uDFFD"
                  ]
      }
      
      

       

      Expected result would be to allow this to be rendered as a single character, or allowing the provider to have a json option to render with no gap in between each segment of the emoticon.

      Steps to reproduce are to download the provided pack and use the "✌🏽" emoticon in chat.
      (note: i set the render size to 50 for visibility)

      Unless i'm missing something this will effect most emoticons that use built up modifiers like skintone, gender, option ect. The current workaround is to move these emojis outside of the currently used ranges for the time being so that we can split the modifiers to their own code point until this can get resolved. 

      Regards

            Unassigned Unassigned
            Mithrillia liam Carney
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: