-
Bug
-
Resolution: Duplicate
-
None
-
1.21.3, 24w45a
-
None
-
Unconfirmed
-
(Unassigned)
Caused by MC-277712.
The bug
Unicode character ▌ U+258C is meant to be a character where the left hand side is filled with a solid color and the right hand side is blank. Its complement, ▐ U+2590, is meant to have the left half blank and the right half solid.
Minecraft correctly implements U+2590, but not U+258C - the right hand half of whitespace is ignored, and characters that follow are allowed to occupy it.
This likely affects other characters in Block Elements, however these two characters are explicitly defined in Minecraft's font rather than just the GNU Unifont fallback.
How to reproduce
- Paste in chat: ▌x
- Paste in chat: x▐
Expected results
In both cases, there would be an identical gap size between the x and rectangle.
Actual results
In the first case, the x and rectangle are right next to each other. The second works correctly.
How to fix
When defining fonts, there needs to be some way to override width, etc. data for specific characters in cases where the automatically calculated values are unsatisfactory, like is the case here.
- duplicates
-
MC-254151 Unicode block elements not spaced properly
- Open