18#include <QtGui/private/qtguiglobal_p.h>
19#include "QtGui/qfont.h"
20#include "QtCore/qmap.h"
21#include "QtCore/qhash.h"
22#include "QtCore/qobject.h"
23#include "QtCore/qstringlist.h"
24#include <QtGui/qfontdatabase.h>
25#include "private/qfixed_p.h"
33#define QFONT_WEIGHT_MIN 1
34#define QFONT_WEIGHT_MAX 1000
123 fd.hintingPreference);
151 void alterCharForCapitalization(
QChar &
c)
const;
180 static void detachButKeepEngineData(
QFont *
font);
195 static void cleanup();
200 int id()
const {
return m_id; }
205 Key() : script(0), multi(0) { }
207 : def(
d), script(
c), multi(
m) { }
215 if (script !=
other.script)
return script <
other.script;
216 if (multi !=
other.multi)
return multi <
other.multi;
219 return def <
other.def;
223 return script ==
other.script
224 && multi ==
other.multi
260 void decreaseCache();
262 static const uint min_cost;
263 uint total_cost, max_cost;
264 uint current_timestamp;
266 const bool autoClean;
T * data() const noexcept
Returns a pointer to the shared data object.
EngineDataCache engineDataCache
QMultiMap< Key, Engine > EngineCache
QMap< QFontDef, QFontEngineData * > EngineDataCache
QHash< QFontEngine *, int > engineCacheCount
QFontEngine * engines[QChar::ScriptCount]
bool letterSpacingIsAbsolute
static QFontPrivate * get(const QFont &font)
QHash< quint32, quint32 > features
QFontEngineData * engineData
QFont smallCapsFont() const
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
AudioChannelLayoutTag tag
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
qint64 qRound64(qfloat16 d) noexcept
Q_GUI_EXPORT int qt_openTypeToLegacyWeight(int weight)
size_t qHash(const QFontDef &fd, size_t seed=0) noexcept
Q_GUI_EXPORT int qt_defaultDpiX()
Q_GUI_EXPORT int qt_legacyToOpenTypeWeight(int weight)
Q_GUI_EXPORT int qt_defaultDpi()
Q_GUI_EXPORT int qt_defaultDpiY()
constexpr QtPrivate::QHashMultiReturnType< T... > qHashMulti(size_t seed, const T &... args) noexcept(std::conjunction_v< QtPrivate::QNothrowHashable< T >... >)
GLuint GLuint GLfloat weight
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLint GLint GLint GLint GLint GLint GLint GLbitfield mask
static qsizetype cost(const QPixmap &pixmap)
static Q_CONSTINIT QBasicAtomicInteger< unsigned > seed
bool operator==(const Key &other) const
bool operator<(const Key &other) const
Key(const QFontDef &d, uchar c, bool m=0)
QStringList fallBackFamilies
bool operator<(const QFontDef &other) const
bool operator==(const QFontDef &other) const
bool exactMatch(const QFontDef &other) const