mojira.dev
MC-14502

Special characters on splash text on title screen rendered wrong

The bug

Splashes on the title screen that have special characters in the splash text don't have the "backing" part of the text rendered.
With the splashes, they should have a really dark yellow "layer" of the same text under it. With special characters it doesn't.

Code analysis

Code analysis by @unknown can be found in this comment

Linked issues

Attachments

Comments 17

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Confirmed, I believe the formatting is the issue; maybe the ! is getting interpreted as an english character, rather than another language.

In splash.txt, this is what you see: http://i.imgur.com/73HjLEO.png ; notice the character encoding.

Please do not mark unreleased versions as affected. You do not have access to this yet.

Yes, it still happens in 1.6.2

7 more comments

Is this still a concern in the current Minecraft version 1.8.1 Prerelease 3 / Launcher version 1.5.3 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

No response for over a year.

Force Unicode Font fixes this, as shown in my attachments.

Please link to this comment in the description

The following is based on a decompiled version of Minecraft 1.9 using MCP 9.24 beta.

The reason for this is the same as for MC-76356. When the shadow is rendered, the text is shifted 1 to the right. For unicode characters 1 is too much because they are smaller. Therefor the method net.minecraft.client.gui.FontRenderer.renderStringAtPos(String, boolean) is supposed to shift them back. The value used for shifting is the same used for displaying bold font. As described in MC-76356 the value is wrong (1 instead of 0.5) if "Force Unicode Font" is disabled and because of this the shadow is shifted behind the text.

dangered wolf

Nathan Adams

Confirmed

font, menu, rendering, splashes, text

Minecraft 1.5.1, Snapshot 13w16a, Minecraft 1.5.2, Snapshot 13w19a, Snapshot 13w21a, ..., Minecraft 16w32b, Minecraft 16w33a, Minecraft 1.11.2, Minecraft 1.12.2, Minecraft 18w02a

Minecraft 1.13-pre6

Retrieved