mojira.dev
MC-267230

Hangul fonts are rendered with missing pixels

In Unifont 15.1.01 and later, Hangul glyphs (Korean characters) have been shifted one pixel to the right. In the previous version of Unifont, Hangul glyphs have empty line on its right side but it is changed to have empty line ont its left side in the new version. Because minecraft uses only 15x16 pixel of 16x16 pixel Unifont, some Hangul glyphs are rendered with some missing pixels after minecraft upgrade the Unifont to a new version. In the new version of Unifont, pixel number 1 to 15 should be used instead of 0 to 14 for Hangul glyphs. It can be done with below size_overrides.

"size_overrides": [

  { "from": "\u1100", "to": "\u11ff", "left": 1, "right": 15 },

  { "from": "\u3130", "to": "\u318f", "left": 1, "right": 15 },

  { "from": "\uac00", "to": "\ud7ff", "left": 1, "right": 15 }

]

Linked issues

Attachments

Comments 9

Minecraft just updated to unifont 15.1.04 in 1.20.3, are you certain this is not a problem with unifont and specific to minecraft? Issues with unifont should be reported to them, not mojang.

This is bug is not a problem with unifont and specific to incorrect font rendering of minecraft. Please re-open this bug. There's no size-overrides in the Unifont itself.

(It was resolved as "awaiting response", which makes the bot reopen automatically upon a comment being added.)

Please actually format this as a bug, not a change suggestion.

The title has been changed to bug report format. Please reopen it.

An image is attached and ranges in size_overrides on description is updated.

It has different image comparing with unifont 15.1.04 bmp file

[media]

Actually, this issue stems from bug MC-265978 and will automatically be fixed if MC-265978 is resolved. However, this issue can easily be avoided by applying size_overrides of {"left": 1, "right": 15} instead of {"left": 0, "right": 14} before MC-265978 is resolved.

Before Mojang fixes this bug, consider using the resource pack I uploaded that fixes it.

Although this bug can be fixed very easily by only updating size_overrides table, it was not fixed in version 1.20.5-rc2. Moreover, this is a very serious bug that seriously affects all Korean Minecraft users. Unless this bug is fixed, Korean Minecraft users will have no choice but to rely on resource packs. I hope this is fixed in version 1.20.5. If not, it will be very disappointing.

hsee26

boq

Community Consensus

Platform

Normal

Internationalisation, UI

23w45a, 1.20.4, 23w51b, 1.20.5 Release Candidate 2, 1.20.6

24w20a

Retrieved