mojira.dev
MC-241824

Certain fullwidth punctuation are center-aligned instead of corner-justified

To Reproduce

Copy-paste this string to chat

Expected Behavior

The punctuation should be corner-justified (left-aligned) in their respective grids.

[media]

Observed Behavior

They are centered instead.

[media]

Affected Characters

Unicode Char Point

Character

U+FF01

U+FF1A

U+FF1B

U+FF1F

Non-Affected Characters

These characters are corner-justified correctly.

Unicode Char Point

Character

U+3001

U+3002

U+FF0C

U+FF0E

Additional Information

Additional information regarding the rules of different languages can be found in @unknown's comment.

Linked issues

Attachments

Comments 5

This is related to different standards of font making; Corner-justified rule applies for GB (China mainland) and JIS (Japan) standards, while making most of them center-aligned applies for CNS (Taiwan) standard. Since Unifont inherits the CJK part from Unibit, which follows GB standard, I'd support to making it corner-justified, but it would be not as good for CNS standard users (mainly Traditional Chinese users).
To really solve this problem, we will have to include several CJK fonts inside the game (e.g. Noto Sans provides CN/TW/HK/JP/KR, 5 variants iirc), and choose the corresponding one for each language.

Can confirm in 1.18.1. Also, in Japan, corner-justified rule for Affected Characters are not use.

Can confirm in 1.19.

[media]

Can confirm in 1.19.2.

SPGoding

(Unassigned)

Confirmed

Platform

Low

UI

1.18 Pre-release 4, 1.18 Release Candidate 4, 1.18, 1.18.1, 1.19, 1.19.2, 1.19.4, 23w14a

Retrieved