Mojira Archive
MCPE-66911

Unicode characters mess up text shadow

The bug

When a message contains any "special" unicode character, the text shadow offset is calculated wrongly causing the shadow to be misaligned. This makes it difficult to read text in some situations.

How to reproduce

/titleraw @a title {"rawtext":[{"text":"test message"}]}

 Looks fine

 

/titleraw @a title {"rawtext":[{"text":"\ue000 test message"}]}

 Shadow is wrong

Fixed

[Mod] tryashtar

2020-03-31, 06:18 AM

2022-06-04, 03:51 AM

2022-06-04, 03:51 AM

3

1

Confirmed

392134

1.17.40.23 Beta - 1.17.321.17.40.23 Beta, 1.17.40.21 Beta, 1.17.20.20 Beta, 1.16.0.55 Beta, 1.16.0.51 Beta, 1.14.30 Hotfix, 1.16.0, 1.16.201 Hotfix, 1.17.2 Hotfix, 1.17.30, 1.17.32

-