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
114 auto jt =
other.variableAxisValues.constBegin();
116 if (
it.key() != jt.key())
117 return jt.key() <
it.key();
118 if (
it.value() != jt.value())
119 return jt.value() <
it.value();
141 fd.hintingPreference,
142 fd.variableAxisValues.keys(),
143 fd.variableAxisValues.values());
171 void alterCharForCapitalization(
QChar &
c)
const;
200 static void detachButKeepEngineData(
QFont *
font);
219 static void cleanup();
224 int id()
const {
return m_id; }
229 Key() : script(0), multi(0) { }
231 : def(
d), script(
c), multi(
m) { }
239 if (script !=
other.script)
return script <
other.script;
240 if (multi !=
other.multi)
return multi <
other.multi;
243 return def <
other.def;
247 return script ==
other.script
248 && multi ==
other.multi
284 void decreaseCache();
286 static const uint min_cost;
287 uint total_cost, max_cost;
288 uint current_timestamp;
290 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)
QFontEngineData * engineData
QFont smallCapsFont() const
QHash< QFont::Tag, quint32 > features
const_iterator constBegin() const
const_iterator constEnd() const
\macro QT_RESTRICTED_CAST_FROM_ASCII
QSet< QString >::iterator it
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 >... >)
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLuint GLuint GLfloat weight
GLint GLint GLint GLint GLint GLint GLint GLbitfield mask
static qsizetype cost(const QPixmap &pixmap)
static const QQmlJSScope * resolve(const QQmlJSScope *current, const QStringList &names)
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
QMap< QFont::Tag, float > variableAxisValues
bool operator==(const QFontDef &other) const
bool exactMatch(const QFontDef &other) const
The QFont::Tag type provides access to advanced font features.