Freeciv21
Develop your civilization from humble roots to a global empire
fonts.h File Reference
#include <QFont>
#include <QMap>
#include <QStringList>
+ Include dependency graph for fonts.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fcFont
 

Namespaces

 fonts
 

Functions

bool isFontInstalled (const QString &font_name)
 Returns if a font is installed. More...
 
void load_fonts ()
 Loads the fonts into the font database. More...
 
void configure_fonts ()
 Tries to choose good fonts for Freeciv21. More...
 

Variables

const char *const fonts::default_font = "gui_qt_font_default"
 
const char *const fonts::notify_label = "gui_qt_font_notify_label"
 
const char *const fonts::help_label = "gui_qt_font_help_label"
 
const char *const fonts::help_text = "gui_qt_font_help_text"
 
const char *const fonts::chatline = "gui_qt_font_chatline"
 
const char *const fonts::city_names = "gui_qt_font_city_names"
 
const char *const fonts::city_productions = "gui_qt_font_city_productions"
 
const char *const fonts::reqtree_text = "gui_qt_font_reqtree_text"
 

Function Documentation

◆ configure_fonts()

void configure_fonts ( )

Tries to choose good fonts for Freeciv21.

Definition at line 160 of file fonts.cpp.

Referenced by client_main().

◆ isFontInstalled()

bool isFontInstalled ( const QString &  font_name)

Returns if a font is installed.

Definition at line 130 of file fonts.cpp.

Referenced by configure_fonts().

◆ load_fonts()

void load_fonts ( )

Loads the fonts into the font database.

Definition at line 140 of file fonts.cpp.

Referenced by configure_fonts().