15 #include <QStringList>
21 const char *
const help_text =
"gui_qt_font_help_text";
22 const char *
const chatline =
"gui_qt_font_chatline";
41 QFont
getFont(
const QString &
name,
double zoom = 1.0)
const;
void initFonts()
Initiazlizes fonts from client options.
QMap< QString, QFont > font_map
void setSizeAll(int)
Increases/decreases all fonts sizes.
void releaseFonts()
Deletes all fonts.
fcFont()
Font provider constructor.
QFont getFont(const QString &name, double zoom=1.0) const
Returns desired font.
static fcFont * m_instance
static void drop()
Deletes fc_icons instance.
static fcFont * instance()
Returns instance of fc_font.
void setFont(const QString &name, const QFont &qf)
Adds new font or overwrite old one.
void load_fonts()
Loads the fonts into the font database.
bool isFontInstalled(const QString &font_name)
Returns if a font is installed.
void configure_fonts()
Tries to choose good fonts for Freeciv21.
const char *const city_productions
const char *const chatline
const char *const default_font
const char *const notify_label
const char *const help_label
const char *const city_names
const char *const help_text
const char *const reqtree_text