Luanti 5.19.0-dev
Loading...
Searching...
No Matches
fontengine.cpp File Reference
#include "fontengine.h"
#include "client/renderingengine.h"
#include "settings.h"
#include "irrlicht_changes/CGUITTFont.h"
#include "util/numeric.h"
#include "exceptions.h"
#include "gettext.h"
#include <IGUIEnvironment.h>
#include <IGUIFont.h>
#include <cmath>
#include <cstring>
#include <unordered_set>
Include dependency graph for fontengine.cpp:

Variables

FontEngine * g_fontengine = nullptr
 reference to access font engine, has to be initialized by main
static const char * settings []

Variable Documentation

◆ g_fontengine

◆ settings

const char* settings[]
static
Initial value:
= {
"font_size", "font_bold", "font_italic", "font_size_divisible_by",
"mono_font_size", "mono_font_size_divisible_by",
"font_shadow", "font_shadow_alpha",
"font_path", "font_path_bold", "font_path_italic", "font_path_bold_italic",
"mono_font_path", "mono_font_path_bold", "mono_font_path_italic",
"mono_font_path_bold_italic",
"fallback_font_path",
"dpi_change_notifier", "display_density_factor", "gui_scaling",
}

Referenced by FontEngine::FontEngine(), push_settings_table(), and set_default_settings().