The Battle for Wesnoth  1.19.7+dev
Namespaces | Macros | Functions | Variables
font_config.cpp File Reference
#include "font/font_config.hpp"
#include "font/error.hpp"
#include "config.hpp"
#include "log.hpp"
#include "tstring.hpp"
#include "filesystem.hpp"
#include "serialization/parser.hpp"
#include "serialization/preprocessor.hpp"
#include <sstream>
#include <fontconfig/fontconfig.h>
Include dependency graph for font_config.cpp:

Go to the source code of this file.

Namespaces

 font
 Graphical text output.
 

Macros

#define DBG_FT   LOG_STREAM(debug, log_font)
 
#define LOG_FT   LOG_STREAM(info, log_font)
 
#define WRN_FT   LOG_STREAM(warn, log_font)
 
#define ERR_FT   LOG_STREAM(err, log_font)
 

Functions

bool font::load_font_config ()
 
const t_stringfont::get_font_families (family_class fclass=FONT_SANS_SERIF)
 Returns the currently defined fonts. More...
 

Variables

static lg::log_domain log_font ("font")
 

Macro Definition Documentation

◆ DBG_FT

#define DBG_FT   LOG_STREAM(debug, log_font)

Definition at line 34 of file font_config.cpp.

◆ ERR_FT

#define ERR_FT   LOG_STREAM(err, log_font)

Definition at line 37 of file font_config.cpp.

◆ LOG_FT

#define LOG_FT   LOG_STREAM(info, log_font)

Definition at line 35 of file font_config.cpp.

◆ WRN_FT

#define WRN_FT   LOG_STREAM(warn, log_font)

Definition at line 36 of file font_config.cpp.

Variable Documentation

◆ log_font

lg::log_domain log_font("font") ( "font"  )
static