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

Bold text intersects itself, causing an ugly effect when fading

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.4 Pre-Release 1
    • None
    • Community Consensus
    • (Unassigned)

      Relates to MC-108323 and MC-277445.

      The bug

      Bold text is self-intersecting in a way what causes the translucency fading animation to look incorrect.

      How to reproduce

      /title @a title {"text":"■", "bold": true, "shadow_color": 0}

      Expected results

      The rectangle would fade out uniformly.

      Actual results

      The horizontal center remains twice as opaque as the outer edges when fading out.

      How to fix

      Instead of rendering text twice, it may make more sense to pre-generate bold characters and stitch them to their own font atlas so they only need to be rendered a single time. In addition to eliminating this issue, it would also reduce rendering lag.

        1. 2024-11-25_07.01.43.png
          40 kB
          Connor Steppie
        2. 2024-11-25_07.06.59.png
          332 kB
          Connor Steppie
        3. 2024-11-25_07.07.10.png
          311 kB
          Connor Steppie

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

              Created:
              Updated:
              CHK: