1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-11 12:25:26 +01:00

GUI: Use the client's fonts for 'Open URL?' dialogues

This popup is related to user safety, thus it should not
use server-provided font media files.
This commit is contained in:
SmallJoker
2025-03-15 15:30:35 +01:00
committed by SmallJoker
parent 5b2b2c7796
commit f1364b1e0b
4 changed files with 72 additions and 32 deletions

View File

@@ -316,6 +316,8 @@ public:
spec.bold = true;
else if (modes[i] == "italic")
spec.italic = true;
else if (modes[i] == "_no_server_media") // for internal use only
spec.allow_server_media = false;
}
if (!size.empty()) {