16 #ifndef QGSFONTUTILS_H
17 #define QGSFONTUTILS_H
28 static bool fontMatchOnSystem(
const QFont& f );
35 static bool fontFamilyOnSystem(
const QString& family );
43 static bool fontFamilyHasStyle(
const QString& family,
const QString& style );
51 static bool fontFamilyMatchOnSystem(
const QString& family, QString* chosen = 0,
bool* match = 0 );
60 static bool updateFontViaStyle( QFont& f,
const QString& fontstyle,
bool fallback =
false );
65 static QString standardTestFontFamily();
73 static bool loadStandardTestFonts( QStringList loadstyles );
81 static QFont getStandardTestFont(
const QString& style =
"Roman",
int pointsize = 12 );
84 #endif // QGSFONTUTILS_H