Mojira Archive
MC-278506

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

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.

Unresolved

Connor Steppie

2024-11-25, 07:31 AM

2025-01-17, 02:33 PM

2

0

Community Consensus

Low

Platform

Rendering

1.21.4 Pre-Release 1, 25w03a

-