Minetest  5.4.0
fontengine.cpp File Reference
#include "fontengine.h"
#include <cmath>
#include "client/renderingengine.h"
#include "config.h"
#include "porting.h"
#include "filesys.h"
#include "gettext.h"
#include "irrlicht_changes/CGUITTFont.h"
+ Include dependency graph for fontengine.cpp:

Macros

#define MAX_FONT_SIZE_OFFSET   10
 maximum size distance for getting a "similar" font size More...
 

Functions

static void font_setting_changed (const std::string &name, void *userdata)
 callback to be used on change of font size setting More...
 

Variables

FontEngineg_fontengine = NULL
 reference to access font engine, has to be initialized by main More...
 

Macro Definition Documentation

◆ MAX_FONT_SIZE_OFFSET

#define MAX_FONT_SIZE_OFFSET   10

maximum size distance for getting a "similar" font size

Function Documentation

◆ font_setting_changed()

static void font_setting_changed ( const std::string &  name,
void *  userdata 
)
static

callback to be used on change of font size setting

References g_fontengine, and FontEngine::readSettings().

Referenced by FontEngine::FontEngine().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ g_fontengine