switch to unifont + update translation file

This commit is contained in:
darkrose 2017-03-06 21:26:05 +10:00
parent e57cda07ca
commit 2d483ea6b3
6 changed files with 728 additions and 280 deletions

Binary file not shown.

BIN
data/fonts/unifont.ttf Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -115,7 +115,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("bilinear_filter", "false");
settings->setDefault("trilinear_filter", "false");
settings->setDefault("sound_volume", "50");
settings->setDefault("font_size","12");
settings->setDefault("font_size","14");
settings->setDefault("old_hotbar","false");
settings->setDefault("enable_wieldindex","false");

View File

@ -1120,7 +1120,7 @@ int main(int argc, char *argv[])
gui::IGUISkin* skin = guienv->getSkin();
#if USE_FREETYPE
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
gui::IGUIFont* font = guienv->getFont(getTexturePath("fontlucida.png").c_str());
#endif

View File

@ -1805,7 +1805,7 @@ bool generate_image(std::string part_of_name, video::IImage *& baseimg,
gui::IGUIFont *std_font = skin->getFont();
static gui::IGUIFont *tex_font = NULL;
#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
tex_font = guienv->getFont(getTexturePath("fontlucida.png").c_str());
#endif