minetest-mods / areas

A rewrite of the node_ownership Minetest mod with many new features.
GNU Lesser General Public License v2.1
51 stars 52 forks source link

HUD area list text height is computed for the server #8

Closed ShadowNinja closed 9 years ago

ShadowNinja commented 10 years ago

The hack that I used to guess the text height for the area list display on the HUD is computed based on the server's font_size setting. This works fine in singleplayer but it will break in multiplayer if a client has a different font_size setting than the server.

The ideal solution for this would be support for bottom-alignment (and right-alignment, for completeness) of text in the core.

ShadowNinja commented 9 years ago

0cda67f5c1859ef5ceac70cbfdeae55417f33f0e