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

ttf fonts are antialiased against a white background before use

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.16.4
    • None
    • Unconfirmed
    • (Unassigned)

      Given a ttf file used as a font, it is clear that the system is rendering the text against a white background and then painting the non-white pixels into the scene. Which leads to really ugly, frankly illegible text on signs, where the background isn't white. See attached snapshots

       

      Here is my default.json file, using a ttf file for Arial Unicode:

       

      {{{}}
      {{ "providers": [}}
      {{ {}}
      {{ "type": "ttf",}}
      {{ "file": "minecraft:arial_unicode.ttf",}}
      {{ "shift": [0, 0],}}
      {{ "size": 13.0,}}
      {{ "oversample": 10.0}}
      {{ }}}
      {{ ]}}
      }

        1. 2020-12-03_12.37.33.png
          2020-12-03_12.37.33.png
          110 kB
        2. 2020-12-03_12.37.22.png
          2020-12-03_12.37.22.png
          112 kB
        3. default.json
          0.2 kB

            Unassigned Unassigned
            kcrca Ken
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: