mojira.dev
MC-109260

Full-width punctuation characters are rendered incorrectly

The Bug

Punctuation marks in CJK languages are supposed to be full-width (i.e. having the same width as a normal character), but Minecraft renders them incorrectly as half-width characters.

Here is an example:

Test string:

'试'""

In game:

[media]

As you can see from the text box above, all the punctuation characters in the text string take up the same width as a Chinese character, while most of them in game does not have the correct horizontal bearing and advance.

Affected characters:

Potential Fix

A fixed glyph_sizes.bin file provided by @unknown can be found under attachments:

[media]

(MC-231056).

Linked issues

Attachments

Comments 6

Please do not mark unreleased versions as affected.
You don't have access to them yet.

confirmed in 17w06a

still in 19w36a and probably related to MC-160704

Can confirm in 20w51a.

Can confirm in 21w03a.

I have made a new glyph_sizes.bin to fix the issue. see MC-231056! I hope my patch can be applied soon lol.

Meow J

Erik Broes

Confirmed

Low

Rendering

chinese, font, punctuation

Minecraft 1.10.2, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, ..., 21w03a, 1.17, 1.17.1 Pre-release 1, 1.17.1 Release Candidate 1, 1.17.1

1.18 Pre-release 3

Retrieved