(6704e55a9c04014097cc2e90fd75b20ae5da56c8)
#include "qwindowsfontdatabase_p.h"
#include "qwindowsfontdatabase_ft_p.h"
#include "qwindowsfontengine_p.h"
#include <QtCore/qt_windows.h>
#include <QtGui/QFont>
#include <QtGui/QGuiApplication>
#include <QtGui/private/qtgui-config_p.h>
#include <QtCore/qmath.h>
#include <QtCore/QDebug>
#include <QtCore/QFile>
#include <QtCore/QtEndian>
#include <QtCore/QStandardPaths>
#include <QtCore/private/qduplicatetracker_p.h>
#include <QtCore/private/qwinregistry_p.h>
#include <wchar.h>
#include <mutex>
Go to the source code of this file.
|
QDebug | operator<< (QDebug d, const QFontDef &def) |
QDebug | operator<< (QDebug d, const LOGFONT &lf) |
static QFontDatabase::WritingSystem | writingSystemFromCharSet (uchar charSet) |
bool | qt_localizedName (const QString &name) |
QString | qt_getEnglishName (const QString &familyName, bool includeStyle) |
QFontNames | qt_getCanonicalFontNames (const LOGFONT &lf) |
static bool | addFontToDatabase (QString familyName, QString styleName, const LOGFONT &logFont, const TEXTMETRIC *textmetric, const FONTSIGNATURE *signature, int type, StoreFontPayload *sfp) |
static int QT_WIN_CALLBACK | storeFont (const LOGFONT *logFont, const TEXTMETRIC *textmetric, DWORD type, LPARAM lparam) |
static int QT_WIN_CALLBACK | populateFontFamilies (const LOGFONT *logFont, const TEXTMETRIC *textmetric, DWORD, LPARAM) |
static QList< quint32 > | getTrueTypeFontOffsets (const uchar *fontData, const uchar *fileEndSentinel) |
static void | getFontTable (const uchar *fileBegin, const uchar *fileEndSentinel, const uchar *data, quint32 tag, const uchar **table, quint32 *length) |
static void | getFamiliesAndSignatures (const QByteArray &fontData, QList< QFontNames > *families, QList< FONTSIGNATURE > *signatures, QList< QFontValues > *values) |
◆ addFontToDatabase()
bool addFontToDatabase |
( |
QString | familyName, |
|
|
QString | styleName, |
|
|
const LOGFONT & | logFont, |
|
|
const TEXTMETRIC * | textmetric, |
|
|
const FONTSIGNATURE * | signature, |
|
|
int | type, |
|
|
StoreFontPayload * | sfp ) |
|
static |
◆ getFamiliesAndSignatures()
◆ getFontTable()
◆ getTrueTypeFontOffsets()
◆ operator<<() [1/2]
◆ operator<<() [2/2]
◆ populateFontFamilies()
int QT_WIN_CALLBACK populateFontFamilies |
( |
const LOGFONT * | logFont, |
|
|
const TEXTMETRIC * | textmetric, |
|
|
DWORD | , |
|
|
LPARAM | ) |
|
static |
◆ qt_getCanonicalFontNames()
QFontNames qt_getCanonicalFontNames |
( |
const LOGFONT & | lf | ) |
|
◆ qt_getEnglishName()
QString qt_getEnglishName |
( |
const QString & | familyName, |
|
|
bool | includeStyle ) |
◆ qt_localizedName()
bool qt_localizedName |
( |
const QString & | name | ) |
|
◆ storeFont()
int QT_WIN_CALLBACK storeFont |
( |
const LOGFONT * | logFont, |
|
|
const TEXTMETRIC * | textmetric, |
|
|
DWORD | type, |
|
|
LPARAM | lparam ) |
|
static |
◆ writingSystemFromCharSet()