54 #include <QtGui/private/qtguiglobal_p.h>
55 #include "QtGui/qfont.h"
56 #include "QtCore/qmap.h"
57 #include "QtCore/qhash.h"
58 #include "QtCore/qobject.h"
59 #include "QtCore/qstringlist.h"
60 #include <QtGui/qfontdatabase.h>
61 #include "private/qfixed_p.h"
69 #define QFONT_WEIGHT_MIN 1
70 #define QFONT_WEIGHT_MAX 1000
159 fd.hintingPreference);
187 void alterCharForCapitalization(
QChar &
c)
const;
215 static void detachButKeepEngineData(
QFont *
font);
232 int id()
const {
return m_id; }
248 if (multi !=
other.multi)
return multi <
other.multi;
251 return def <
other.def;
256 && multi ==
other.multi
286 void insertEngine(
const Key &
key,
QFontEngine *engine,
bool insertMulti =
false);
289 void increaseCost(
uint cost);
290 void decreaseCost(
uint cost);
292 void decreaseCache();
294 static const uint min_cost;
295 uint total_cost, max_cost;
296 uint current_timestamp;
298 const bool autoClean;
xD9 x84 xD8 xAD xD9 x80 xF0 x90 xAC x9A xE0 xA7 xA6 xE0 xA7 xAA xF0 x91 x84 xA4 xF0 x91 x84 x89 xF0 x91 x84 x9B xF0 x90 x8A xAB xF0 x90 x8B x89 xE2 xB2 x9E xE2 xB2 x9F xD0 xBE xD0 x9E xF0 x90 x90 x84 xF0 x90 x90 xAC xE1 x83 x98 xE1 x83 x94 xE1 x83 x90 xE1 xB2 xBF xE2 xB0 x95 xE2 xB1 x85 xCE xBF xCE x9F xE0 xA8 xA0 xE0 xA8 xB0 xE0 xA9 xA6 Kayah xEA xA4 x8D xEA xA4 x80 Khmer xE1 xA7 xA1 xE1 xA7 xAA xE0 xBB x90 Latin Subscript xE2 x82 x92 xE2 x82 x80 xEA x93 xB3 xF0 x96 xB9 xA1 xF0 x96 xB9 x9B xF0 x96 xB9 xAF xE1 x80 x9D xE1 x80 x84 xE1 x80 x82 no script
The QAtomicInt class provides platform-independent atomic operations on int.
The QChar class provides a 16-bit Unicode character.
T * data() const noexcept
template< typename Enum > size_t qHash(QFlags< Enum > flags, size_t seed=0) noexcept
EngineDataCache engineDataCache
QMultiMap< Key, Engine > EngineCache
QMap< QFontDef, QFontEngineData * > EngineDataCache
QHash< QFontEngine *, int > engineCacheCount
QFontEngine * engines[QChar::ScriptCount]
The QFont class specifies a query for a font used for drawing text.
bool letterSpacingIsAbsolute
static QFontPrivate * get(const QFont &font)
QFontEngineData * engineData
QFont smallCapsFont() const
template< typename... T > size_t qHashMulti(size_t seed, const T &...args)
The QObject class is the base class of all Qt objects.
The QString class provides a Unicode character string.
The QStringList class provides a list of strings.
The QTimerEvent class contains parameters that describe a timer event.
set set set set set set set macro pixldst1 abits if abits op else op endif endm macro pixldst2 abits if abits op else op endif endm macro pixldst4 abits if abits op else op endif endm macro pixldst0 abits op endm macro pixldst3 mem_operand op endm macro pixldst30 mem_operand op endm macro pixldst abits if abits elseif abits elseif abits elseif abits elseif abits pixldst0 abits else pixldst0 abits pixldst0 abits pixldst0 abits pixldst0 abits endif elseif abits else pixldst0 abits pixldst0 abits endif elseif abits else error unsupported bpp *numpix else pixst endif endm macro vuzp8 reg2 vuzp d d ®2 endm macro vzip8 reg2 vzip d d ®2 endm macro pixdeinterleave basereg basereg basereg basereg basereg endif endm macro pixinterleave basereg basereg basereg basereg basereg endif endm macro PF boost_increment endif if endif PF tst PF addne PF subne PF cmp ORIG_W if endif if endif if endif PF subge ORIG_W PF subges if endif if endif if endif endif endm macro cache_preload_simple endif if dst_r_bpp pld[DST_R, #(PREFETCH_DISTANCE_SIMPLE *dst_r_bpp/8)] endif if mask_bpp pld cleanup[MASK, #(PREFETCH_DISTANCE_SIMPLE *mask_bpp/8)] endif endif endm macro ensure_destination_ptr_alignment process_pixblock_tail_head if beq irp skip1 beq endif SRC MASK if dst_r_bpp DST_R else add endif PF add sub src_basereg pixdeinterleave mask_basereg pixdeinterleave dst_r_basereg process_pixblock_head pixblock_size cache_preload_simple process_pixblock_tail pixinterleave dst_w_basereg irp beq endif process_pixblock_tail_head tst beq irp if pixblock_size chunk_size tst beq pixld SRC pixld MASK if DST_R else pixld DST_R endif if src_basereg pixdeinterleave mask_basereg pixdeinterleave dst_r_basereg process_pixblock_head if pixblock_size cache_preload_simple endif process_pixblock_tail pixinterleave dst_w_basereg irp if pixblock_size chunk_size tst beq if DST_W else pixst DST_W else mov ORIG_W endif add lsl if lsl endif if lsl endif lsl endif lsl endif lsl endif subs mov DST_W if regs_shortage str endif bge start_of_loop_label endm macro generate_composite_function
EGLOutputLayerEXT EGLint EGLAttrib value
qint64 qRound64(qfloat16 d) noexcept
Q_GUI_EXPORT int qt_openTypeToLegacyWeight(int weight)
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()
#define Q_DISABLE_COPY_MOVE(Class)
QT_BEGIN_INCLUDE_NAMESPACE typedef unsigned char uchar
QT_END_INCLUDE_NAMESPACE typedef double qreal
GLuint GLuint GLfloat weight
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLint GLint GLint GLint GLint GLint GLint GLbitfield mask
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