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

Text and strikethrough intersect each other, causing an ugly effect when fading

XMLWordPrintable

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

      Relates to: MC-108323 MC-277445 MC-278505

      The bug

      When a strikethrough is displayed over text, the points where they intersect display at twice the opacity when fading.

      How to reproduce

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

      Expected results

      Everything would fade out uniformly.

      Actual results

      The place where the strikethrough and square meet remains twice as opaque as elsewhere when fading out.

      How to fix

      Instead of rendering the strikethrough separately, it may make more sense to pre-generate struck-through characters and stitch them to their own font atlas so only these need to be rendered. In addition to eliminating this issue, it may also reduce rendering lag.

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

              Created:
              Updated: