42 #ifndef QFONTCONFIGDATABASE_H 43 #define QFONTCONFIGDATABASE_H 45 #include <QPlatformFontDatabase> 56 #endif // QFONTCONFIGDATABASE_H The QString class provides a Unicode character string.
QFontEngine * fontEngine(const QFontDef &fontDef, QUnicodeTables::Script script, void *handle)
Returns the font engine that can be used to render the font described by the font definition...
The QStringList class provides a list of strings.
const char * styleHint(const QFontDef &request)
void populateFontDatabase()
This function is called once at startup by Qts internal fontdatabase.
Style
This enum describes the different styles of glyphs that are used to display text. ...
Q_CORE_EXPORT int QT_FASTCALL script(uint ucs4)
StyleHint
Style hints are used by the font matching algorithm to find an appropriate default family if a select...
QStringList fallbacksForFamily(const QString family, const QFont::Style &style, const QFont::StyleHint &styleHint, const QUnicodeTables::Script &script) const
Returns a list of alternative fonts for the specified family and style and script using the styleHint...