forked from oerkki/voxelands
switch to unifont + update translation file
This commit is contained in:
parent
e57cda07ca
commit
2d483ea6b3
Binary file not shown.
Binary file not shown.
1000
po/voxelands.pot
1000
po/voxelands.pot
File diff suppressed because it is too large
Load Diff
|
@ -115,7 +115,7 @@ void set_default_settings(Settings *settings)
|
||||||
settings->setDefault("bilinear_filter", "false");
|
settings->setDefault("bilinear_filter", "false");
|
||||||
settings->setDefault("trilinear_filter", "false");
|
settings->setDefault("trilinear_filter", "false");
|
||||||
settings->setDefault("sound_volume", "50");
|
settings->setDefault("sound_volume", "50");
|
||||||
settings->setDefault("font_size","12");
|
settings->setDefault("font_size","14");
|
||||||
settings->setDefault("old_hotbar","false");
|
settings->setDefault("old_hotbar","false");
|
||||||
settings->setDefault("enable_wieldindex","false");
|
settings->setDefault("enable_wieldindex","false");
|
||||||
|
|
||||||
|
|
|
@ -1120,7 +1120,7 @@ int main(int argc, char *argv[])
|
||||||
gui::IGUISkin* skin = guienv->getSkin();
|
gui::IGUISkin* skin = guienv->getSkin();
|
||||||
#if USE_FREETYPE
|
#if USE_FREETYPE
|
||||||
u16 font_size = g_settings->getU16("font_size");
|
u16 font_size = g_settings->getU16("font_size");
|
||||||
gui::IGUIFont* font = gui::CGUITTFont::createTTFont(guienv, getPath("font","liberationsans.ttf",false).c_str(), font_size, true, true, 1, 128);
|
gui::IGUIFont* font = gui::CGUITTFont::createTTFont(guienv, getPath("font","unifont.ttf",false).c_str(), font_size, true, true, 1, 128);
|
||||||
#else
|
#else
|
||||||
gui::IGUIFont* font = guienv->getFont(getTexturePath("fontlucida.png").c_str());
|
gui::IGUIFont* font = guienv->getFont(getTexturePath("fontlucida.png").c_str());
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1805,7 +1805,7 @@ bool generate_image(std::string part_of_name, video::IImage *& baseimg,
|
||||||
gui::IGUIFont *std_font = skin->getFont();
|
gui::IGUIFont *std_font = skin->getFont();
|
||||||
static gui::IGUIFont *tex_font = NULL;
|
static gui::IGUIFont *tex_font = NULL;
|
||||||
#if USE_FREETYPE
|
#if USE_FREETYPE
|
||||||
tex_font = gui::CGUITTFont::createTTFont(guienv, getPath("font","liberationsans.ttf",false).c_str(),10);
|
tex_font = gui::CGUITTFont::createTTFont(guienv, getPath("font","unifont.ttf",false).c_str(),10);
|
||||||
#else
|
#else
|
||||||
tex_font = guienv->getFont(getTexturePath("fontlucida.png").c_str());
|
tex_font = guienv->getFont(getTexturePath("fontlucida.png").c_str());
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue