mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Allow overriding fonts via media files (#15606)
Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
parent
eeb6cab4c4
commit
547e1476bb
8 changed files with 270 additions and 138 deletions
|
@ -2548,6 +2548,8 @@ bool Server::addMediaFile(const std::string &filename,
|
|||
".x", ".b3d", ".obj", ".gltf", ".glb",
|
||||
// Translation file formats
|
||||
".tr", ".po", ".mo",
|
||||
// Fonts
|
||||
".ttf", ".woff",
|
||||
NULL
|
||||
};
|
||||
if (removeStringEnd(filename, supported_ext).empty()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue