42 #ifndef QPLATFORMFONTDATABASE_QPA_H 43 #define QPLATFORMFONTDATABASE_QPA_H 45 #include <QtCore/qconfig.h> 46 #include <QtCore/QString> 47 #include <QtCore/QStringList> 48 #include <QtCore/QList> 49 #include <QtGui/QFontDatabase> 50 #include <QtGui/private/qfont_p.h> 84 class QFontRequestPrivate;
89 virtual void populateFontDatabase();
93 virtual void releaseHandle(
void *handle);
97 virtual QString fontDir()
const;
100 static void registerQPF2Font(
const QByteArray &dataArray,
void *handle);
110 #endif // QPLATFORMFONTDATABASE_QPA_H HintingPreference
This enum describes the different levels of hinting that can be applied to glyphs to improve legibili...
#define QT_END_NAMESPACE
This macro expands to.
The QByteArray class provides an array of bytes.
Weight
Qt uses a weighting scale from 0 to 99 similar to, but not the same as, the scales used in Windows or...
The QString class provides a Unicode character string.
Stretch
Predefined stretch values that follow the CSS naming convention.
#define QT_BEGIN_NAMESPACE
This macro expands to.
static float pixelSize(const QFontDef &request, int dpi)
The QStringList class provides a list of strings.
static void registerFont(QFontDatabasePrivate::ApplicationFont *fnt)
The QSupportedWritingSystems class is used when registering fonts with the internal Qt fontdatabase...
const char * styleHint(const QFontDef &request)
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...
QWritingSystemsPrivate * d
static QString fileName(const QString &fileUrl)