mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Add Freetype support
This commit is contained in:
parent
df3c925b3c
commit
30b9a4d6b4
23 changed files with 7271 additions and 16 deletions
|
@ -18,6 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
*/
|
||||
|
||||
#include "settings.h"
|
||||
#include "filesys.h"
|
||||
|
||||
void set_default_settings(Settings *settings)
|
||||
{
|
||||
|
@ -132,6 +133,11 @@ void set_default_settings(Settings *settings)
|
|||
settings->setDefault("serverlist_url", "servers.minetest.ru/server.list");
|
||||
settings->setDefault("serverlist_file", "favoriteservers.txt");
|
||||
|
||||
settings->setDefault("font_path", porting::getDataPath("fonts" DIR_DELIM "liberationsans.ttf"));
|
||||
settings->setDefault("font_size", "13");
|
||||
settings->setDefault("mono_font_path", porting::getDataPath("fonts" DIR_DELIM "liberationmono.ttf"));
|
||||
settings->setDefault("mono_font_size", "13");
|
||||
|
||||
// Server stuff
|
||||
// "map-dir" doesn't exist by default.
|
||||
settings->setDefault("default_game", "minetest");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue