Ice_and_Fire icon indicating copy to clipboard operation
Ice_and_Fire copied to clipboard

Bestiary Lectern text scaling issues [2.1.10-1.16.5]

Open Xeltalliv opened this issue 3 years ago • 0 comments

Describe the bug Bestiary lectern shows 3 page options with their names. If name doesn't fit, it gets scaled down. Scaling is done relatively to incorrect point, causing text to slide vertically, commonly getting itself covered, or in some cases making too covered to read. The issue is mostly noticeable in languages other than English.

Expected behavior Vertical text position doesn't change depending on text scale. Text remains readable.

Screenshots Words in English are generally short enough for this not to happen most of the time: 2022-07-29_15 48 36 Words in some other languages (e.g. Russian) tend to be longer, so it happens to more pages: 2022-07-29_15 50 00

Additional context Tested on: iceandfire-2.1.10-1.16.5-SNAPSHOT+build.2022-07-28.jar (latest as of writing this) iceandfire-2.1.9-1.16.5 iceandfire-1.9.1-1.12.2 (the lack of cost indicator gave names more space making it a lot less noticeable)

Xeltalliv avatar Jul 29 '22 16:07 Xeltalliv