Qt 4.8
|
Classes | |
struct | ApplicationFont |
Public Functions | |
int | addAppFont (const QByteArray &fontData, const QString &fileName) |
void | addFont (const QString &familyname, const char *foundryname, int weight, bool italic, int pixelSize, const QByteArray &file, int fileIndex, bool antialiased, const QList< QFontDatabase::WritingSystem > &writingSystems=QList< QFontDatabase::WritingSystem >()) |
void | addQPF2File (const QByteArray &file) |
QStringList | addTTFile (const QByteArray &file, const QByteArray &fontData=QByteArray()) |
QtFontFamily * | family (const QString &f, bool=false) |
void | free () |
void | invalidate () |
bool | isApplicationFont (const QString &fileName) |
bool | loadFromCache (const QString &fontPath) |
QFontDatabasePrivate () | |
~QFontDatabasePrivate () | |
Public Variables | |
QVector< ApplicationFont > | applicationFonts |
int | count |
IDWriteFactory * | directWriteFactory |
IDWriteGdiInterop * | directWriteGdiInterop |
QStringList | fallbackFamilies |
QtFontFamily ** | families |
bool | reregisterAppFonts |
QDataStream * | stream |
QString | systemLang |
Definition at line 644 of file qfontdatabase.cpp.
|
inline |
Definition at line 647 of file qfontdatabase.cpp.
|
inline |
Definition at line 661 of file qfontdatabase.cpp.
int QFontDatabasePrivate::addAppFont | ( | const QByteArray & | fontData, |
const QString & | fileName | ||
) |
Definition at line 2600 of file qfontdatabase.cpp.
void QFontDatabasePrivate::addFont | ( | const QString & | familyname, |
const char * | foundryname, | ||
int | weight, | ||
bool | italic, | ||
int | pixelSize, | ||
const QByteArray & | file, | ||
int | fileIndex, | ||
bool | antialiased, | ||
const QList< QFontDatabase::WritingSystem > & | writingSystems = QList<QFontDatabase::WritingSystem>() |
||
) |
Definition at line 789 of file qfontdatabase.cpp.
Referenced by addQPF2File(), initializeDb(), and loadFromCache().
void QFontDatabasePrivate::addQPF2File | ( | const QByteArray & | file | ) |
Definition at line 95 of file qfontdatabase_qws.cpp.
Referenced by initializeDb().
QStringList QFontDatabasePrivate::addTTFile | ( | const QByteArray & | file, |
const QByteArray & | fontData = QByteArray() |
||
) |
Definition at line 835 of file qfontdatabase.cpp.
Referenced by initializeDb(), and registerFont().
QtFontFamily * QFontDatabasePrivate::family | ( | const QString & | f, |
bool | create = false |
||
) |
Definition at line 749 of file qfontdatabase.cpp.
Referenced by checkSymbolFonts(), initializeDb(), loadFontConfig(), loadXlfds(), populate_database(), qt_applyFontDatabaseSettings(), and qt_registerFont().
|
inline |
Definition at line 675 of file qfontdatabase.cpp.
void QFontDatabasePrivate::invalidate | ( | ) |
Definition at line 742 of file qfontdatabase.cpp.
Referenced by registerFont(), and QFontDatabase::removeApplicationFont().
bool QFontDatabasePrivate::isApplicationFont | ( | const QString & | fileName | ) |
Definition at line 2628 of file qfontdatabase.cpp.
bool QFontDatabasePrivate::loadFromCache | ( | const QString & | fontPath | ) |
Definition at line 161 of file qfontdatabase_qws.cpp.
Referenced by initializeDb().
QVector<ApplicationFont> QFontDatabasePrivate::applicationFonts |
Definition at line 712 of file qfontdatabase.cpp.
Referenced by initializeDb(), populate_database(), registerFont(), QFontDatabase::removeAllApplicationFonts(), and QFontDatabase::removeApplicationFont().
int QFontDatabasePrivate::count |
Definition at line 684 of file qfontdatabase.cpp.
Referenced by checkSymbolFonts(), fallbackFamilies(), findEncoding(), initializeDb(), loadFromDatabase(), populate_database(), qt_applyFontDatabaseSettings(), and registerFont().
IDWriteFactory* QFontDatabasePrivate::directWriteFactory |
Definition at line 691 of file qfontdatabase.cpp.
Referenced by loadEngine().
IDWriteGdiInterop* QFontDatabasePrivate::directWriteGdiInterop |
Definition at line 692 of file qfontdatabase.cpp.
Referenced by loadEngine().
QStringList QFontDatabasePrivate::fallbackFamilies |
Definition at line 738 of file qfontdatabase.cpp.
Referenced by initializeDb(), loadFromCache(), qt_applyFontDatabaseSettings(), and registerFont().
QtFontFamily** QFontDatabasePrivate::families |
Definition at line 688 of file qfontdatabase.cpp.
Referenced by checkSymbolFonts(), fallbackFamilies(), findEncoding(), initializeDb(), loadFromDatabase(), and qt_applyFontDatabaseSettings().
bool QFontDatabasePrivate::reregisterAppFonts |
Definition at line 714 of file qfontdatabase.cpp.
Referenced by initializeDb(), and registerFont().
QDataStream* QFontDatabasePrivate::stream |
Definition at line 733 of file qfontdatabase.cpp.
Referenced by initializeDb(), and loadFromCache().
QString QFontDatabasePrivate::systemLang |
Definition at line 686 of file qfontdatabase.cpp.
Referenced by loadFontConfig(), and registerFont().