Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qwindowsfontdatabase_p.h File Reference
#include "qwindowsfontdatabasebase_p.h"
#include <qpa/qplatformfontdatabase.h>
#include <QtCore/QSharedPointer>
#include <QtCore/QLoggingCategory>
#include <QtCore/qhashfunctions.h>
#include <QtCore/qt_windows.h>
+ Include dependency graph for qwindowsfontdatabase_p.h:
+ This graph shows which files directly or indirectly include this file:

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
 

Function Documentation

◆ operator<<()

QDebug operator<< ( QDebug  d,
const QFontDef def 
)

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.

+ Here is the call graph for this function:

◆ qHash()

size_t qHash ( const FontAndStyle key,
size_t  seed 
)
inlinenoexcept

Definition at line 141 of file qwindowsfontdatabase_p.h.

References qHashMulti(), and seed.

+ Here is the call graph for this function:

◆ qt_getCanonicalFontNames()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qt_getEnglishName()

QString qt_getEnglishName ( const QString familyName,
bool  includeStyle = false 
)

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qt_getUShort()

quint16 qt_getUShort ( const unsigned char *  p)
inline

Definition at line 103 of file qwindowsfontdatabase_p.h.

Referenced by QWindowsFontEngine::synthesized().

+ Here is the caller graph for this function:

◆ qt_localizedName()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: