15 return "/system/fonts"_L1;
20 return QFont(
"Roboto"_L1);
29 qFatal(
"QFontDatabase: Cannot find font directory %s - is Qt installed correctly?",
34 nameFilters <<
"*.ttf"_L1
48 QChar::Script script)
const
54 switch (locale.language()) {
56 switch (locale.territory()) {
static QByteArray encodeName(const QString &fileName)
Converts fileName to an 8-bit encoding that you can use in native APIs.
StyleHint
Style hints are used by the \l{QFont}{font matching} algorithm to find an appropriate default family ...
Style
This enum describes the different styles of glyphs that are used to display text.
static QStringList addTTFile(const QByteArray &fontData, const QByteArray &file, QFontDatabasePrivate::ApplicationFont *applicationFont=nullptr)
static QLocale system()
Returns a QLocale object initialized to the system locale.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
typedef QByteArray(EGLAPIENTRYP PFNQGSGETDISPLAYSPROC)()
static void split(QT_FT_Vector *b)
#define qPrintable(string)
#define QStringLiteral(str)
Q_CORE_EXPORT QByteArray qgetenv(const char *varName)