Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qwindowsfontdatabase_p.h File Reference

(0916415ef7e909b7347c790c509280ae524482b7)

#include "qwindowsfontdatabasebase_p.h"
#include <qpa/qplatformfontdatabase.h>
#include <QtCore/QSharedPointer>
#include <QtCore/QLoggingCategory>
#include <QtCore/qhashfunctions.h>
#include <QtCore/qmutex.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  QWindowsFontDatabase::FontHandle
 
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 126 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 152 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 405 of file qwindowsfontdatabase.cpp.

References qFromBigEndian(), 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 350 of file qwindowsfontdatabase.cpp.

References error, qFromBigEndian(), 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 114 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 194 of file qwindowsfontdatabase.cpp.

References i.

Referenced by addFontToDatabase(), addFontToDatabase(), populateFontFamilies(), and populateFontFamilies().

+ Here is the caller graph for this function: