![]() |
Qt 6.x
The Qt SDK
|
#include "qwindowsfontdatabasebase_p.h"
#include <qpa/qplatformfontdatabase.h>
#include <QtCore/QSharedPointer>
#include <QtCore/QLoggingCategory>
#include <QtCore/qhashfunctions.h>
#include <QtCore/qt_windows.h>
Go to the source code of this file.
Classes | |
class | QWindowsFontDatabase |
Font database for Windows. More... | |
struct | QFontNames |
struct | QFontValues |
struct | FontAndStyle |
Functions | |
QDebug | operator<< (QDebug, const QFontDef &def) |
quint16 | qt_getUShort (const unsigned char *p) |
bool | qt_localizedName (const QString &name) |
QString | qt_getEnglishName (const QString &familyName, bool includeStyle=false) |
QFontNames | qt_getCanonicalFontNames (const LOGFONT &lf) |
size_t | qHash (const FontAndStyle &key, size_t seed) noexcept |
Definition at line 125 of file qwindowsfontdatabase.cpp.
References d, QFontDef::families, QFontDef::hintingPreference, QString::isEmpty(), QFontDef::pixelSize, QFontDef::pointSize, QFontDef::stretch, QFontDef::styleHint, QFontDef::styleName, and QFontDef::weight.
|
inlinenoexcept |
Definition at line 141 of file qwindowsfontdatabase_p.h.
References qHashMulti(), and seed.
QFontNames qt_getCanonicalFontNames | ( | const LOGFONT & | lf | ) |
Definition at line 415 of file qwindowsfontdatabase.cpp.
References MAKE_TAG, and qt_getCanonicalFontNames().
Referenced by addFontToDatabase(), addFontToDatabase(), getFamiliesAndSignatures(), qt_getCanonicalFontNames(), and qt_getEnglishName().
Definition at line 360 of file qwindowsfontdatabase.cpp.
References error, MAKE_TAG, qt_getCanonicalFontNames(), QString::size(), QString::toWCharArray(), and QString::truncate().
Referenced by addFontToDatabase(), populateFontFamilies(), and populateFontFamilies().
|
inline |
Definition at line 103 of file qwindowsfontdatabase_p.h.
Referenced by QWindowsFontEngine::synthesized().
bool qt_localizedName | ( | const QString & | name | ) |
Definition at line 204 of file qwindowsfontdatabase.cpp.
References i, and QChar::unicode().
Referenced by addFontToDatabase(), addFontToDatabase(), populateFontFamilies(), and populateFontFamilies().