QWindowsFontDatabase Class
Font database for Windows More...
#include <QWindowsFontDatabase>
Public Functions
Reimplemented Public Functions
virtual QStringList | addApplicationFont(const QByteArray & fontData, const QString & fileName) |
virtual QFont | defaultFont() const |
virtual QStringList | fallbacksForFamily(const QString family, const QFont::Style & style, const QFont::StyleHint & styleHint, const QUnicodeTables::Script & script) const |
virtual QString | fontDir() const |
virtual QFontEngine * | fontEngine(const QFontDef & fontDef, QUnicodeTables::Script script, void * handle) |
virtual QFontEngine * | fontEngine(const QByteArray & fontData, qreal pixelSize, QFont::HintingPreference hintingPreference) |
virtual bool | fontsAlwaysScalable() const |
virtual void | populateFontDatabase() |
virtual void | releaseHandle(void * handle) |
Static Public Members
Detailed Description
Font database for Windows
Note: The Qt 4.8 WIndows font database employed a mechanism of delayed population of the database again passing a font name to EnumFontFamiliesEx(), working around the fact that EnumFontFamiliesEx() does not list all fonts by default. This should be introduced to Lighthouse as well?
Member Function Documentation
QWindowsFontDatabase::QWindowsFontDatabase()
QWindowsFontDatabase::~QWindowsFontDatabase()
QFont QWindowsFontDatabase::LOGFONT_to_QFont(const LOGFONT & lf, int verticalDPI = 0) [static]
QStringList QWindowsFontDatabase::addApplicationFont(const QByteArray & fontData, const QString & fileName) [virtual]
QFontEngine * QWindowsFontDatabase::createEngine(int script, const QFontDef & request, HDC fontHdc, int dpi, bool rawMode, const QStringList & family_list, const QSharedPointer<QWindowsFontEngineData> & data) [static]
QFont QWindowsFontDatabase::defaultFont() const [virtual]
void QWindowsFontDatabase::derefUniqueFont(const QString & uniqueFont)
QString QWindowsFontDatabase::fontDir() const [virtual]
QFontEngine * QWindowsFontDatabase::fontEngine(const QFontDef & fontDef, QUnicodeTables::Script script, void * handle) [virtual]
QFontEngine * QWindowsFontDatabase::fontEngine(const QByteArray & fontData, qreal pixelSize, QFont::HintingPreference hintingPreference) [virtual]
qreal QWindowsFontDatabase::fontSmoothingGamma() [static]
bool QWindowsFontDatabase::fontsAlwaysScalable() const [virtual]
void QWindowsFontDatabase::populateFontDatabase() [virtual]
void QWindowsFontDatabase::refUniqueFont(const QString & uniqueFont)
void QWindowsFontDatabase::releaseHandle(void * handle) [virtual]
QFont QWindowsFontDatabase::systemDefaultFont() [static]
HFONT QWindowsFontDatabase::systemFont() [static]
|