Luanti 5.16.0-dev
Loading...
Searching...
No Matches
fontengine.h File Reference
#include <map>
#include <unordered_map>
#include "irr_ptr.h"
#include "irrlicht_changes/CGUITTFont.h"
#include "util/basic_macros.h"
#include "irrlichttypes.h"
#include "irrString.h"
#include "threading/mutex_auto_lock.h"
Include dependency graph for fontengine.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FontSpec
class  FontEngine

Namespaces

namespace  gui

Macros

#define FONT_SIZE_UNSPECIFIED   0xFFFFFFFF

Enumerations

enum  FontMode : u8 {
  FM_Standard = 0 , FM_Mono , _FM_Fallback , FM_MaxMode ,
  FM_Unspecified
}

Variables

FontEngineg_fontengine
 interface to access main font engine

Macro Definition Documentation

◆ FONT_SIZE_UNSPECIFIED

Enumeration Type Documentation

◆ FontMode

enum FontMode : u8
Enumerator
FM_Standard 

Regular font (settings "font_path*", overwritable).

FM_Mono 

Monospace font (settings "mono_font*", overwritable).

_FM_Fallback 

Use only in FontEngine.

Fallback font to render glyphs that are not present in the originally requested font (setting "fallback_font_path")

FM_MaxMode 

Sum of all font modes.

FM_Unspecified 

Request the defult font specified by s_default_font_mode.

Variable Documentation

◆ g_fontengine