![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qfontengine_p.h>
Public Member Functions | |
QFontEngineMulti (QFontEngine *engine, int script, const QStringList &fallbackFamilies=QStringList()) | |
~QFontEngineMulti () | |
virtual int | glyphCount () const override |
virtual glyph_t | glyphIndex (uint ucs4) const override |
virtual int | stringToCMap (const QChar *str, int len, QGlyphLayout *glyphs, int *nglyphs, ShaperFlags flags) const override |
virtual glyph_metrics_t | boundingBox (const QGlyphLayout &glyphs) override |
virtual glyph_metrics_t | boundingBox (glyph_t glyph) override |
virtual void | recalcAdvances (QGlyphLayout *, ShaperFlags) const override |
virtual void | doKerning (QGlyphLayout *, ShaperFlags) const override |
virtual void | addOutlineToPath (qreal, qreal, const QGlyphLayout &, QPainterPath *, QTextItem::RenderFlags flags) override |
virtual void | getGlyphBearings (glyph_t glyph, qreal *leftBearing=nullptr, qreal *rightBearing=nullptr) override |
virtual QFixed | emSquareSize () const override |
virtual QFixed | ascent () const override |
virtual QFixed | capHeight () const override |
virtual QFixed | descent () const override |
virtual QFixed | leading () const override |
virtual QFixed | xHeight () const override |
virtual QFixed | averageCharWidth () const override |
virtual QImage | alphaMapForGlyph (glyph_t) override |
virtual QImage | alphaMapForGlyph (glyph_t glyph, const QFixedPoint &subPixelPosition) override |
virtual QImage | alphaMapForGlyph (glyph_t, const QTransform &t) override |
virtual QImage | alphaMapForGlyph (glyph_t, const QFixedPoint &subPixelPosition, const QTransform &t) override |
virtual QImage | alphaRGBMapForGlyph (glyph_t, const QFixedPoint &subPixelPosition, const QTransform &t) override |
virtual QFixed | lineThickness () const override |
virtual QFixed | underlinePosition () const override |
virtual qreal | maxCharWidth () const override |
virtual qreal | minLeftBearing () const override |
virtual qreal | minRightBearing () const override |
virtual QList< QFontVariableAxis > | variableAxes () const override |
virtual bool | canRender (const QChar *string, int len) const override |
QString | glyphName (glyph_t glyph) const override |
glyph_t | findGlyph (QLatin1StringView name) const override |
int | fallbackFamilyCount () const |
QString | fallbackFamilyAt (int at) const |
void | setFallbackFamiliesList (const QStringList &fallbackFamilies) |
QFontEngine * | engine (int at) const |
void | ensureEngineAt (int at) |
Public Member Functions inherited from QFontEngine | |
virtual | ~QFontEngine () |
Type | type () const |
virtual Properties | properties () const |
virtual void | getUnscaledGlyph (glyph_t glyph, QPainterPath *path, glyph_metrics_t *metrics) |
QByteArray | getSfntTable (uint tag) const |
virtual bool | getSfntTableData (uint tag, uchar *buffer, uint *length) const |
Returns true if the font table idetified by tag exists in the font; returns false otherwise. | |
virtual FaceId | faceId () const |
virtual int | synthesized () const |
bool | supportsSubPixelPositions () const |
virtual bool | supportsHorizontalSubPixelPositions () const |
virtual bool | supportsVerticalSubPixelPositions () const |
virtual QFixedPoint | subPixelPositionFor (const QFixedPoint &position) const |
QFixed | subPixelPositionForX (QFixed x) const |
bool | preferTypoLineMetrics () const |
bool | isColorFont () const |
virtual void | addGlyphsToPath (glyph_t *glyphs, QFixedPoint *positions, int nglyphs, QPainterPath *path, QTextItem::RenderFlags flags) |
void | getGlyphPositions (const QGlyphLayout &glyphs, const QTransform &matrix, QTextItem::RenderFlags flags, QVarLengthArray< glyph_t > &glyphs_out, QVarLengthArray< QFixedPoint > &positions) |
void | addBitmapFontToPath (qreal x, qreal y, const QGlyphLayout &, QPainterPath *, QTextItem::RenderFlags) |
virtual QImage | bitmapForGlyph (glyph_t, const QFixedPoint &subPixelPosition, const QTransform &t, const QColor &color=QColor()) |
QImage | renderedPathForGlyph (glyph_t glyph, const QColor &color) |
virtual Glyph * | glyphData (glyph_t glyph, const QFixedPoint &subPixelPosition, GlyphFormat neededFormat, const QTransform &t) |
virtual bool | hasInternalCaching () const |
virtual glyph_metrics_t | alphaMapBoundingBox (glyph_t glyph, const QFixedPoint &, const QTransform &matrix, GlyphFormat) |
virtual void | removeGlyphFromCache (glyph_t) |
virtual glyph_metrics_t | boundingBox (glyph_t glyph, const QTransform &matrix) |
glyph_metrics_t | tightBoundingBox (const QGlyphLayout &glyphs) |
bool | canRender (uint ucs4) const |
virtual bool | supportsTransformation (const QTransform &transform) const |
virtual int | glyphMargin (GlyphFormat format) |
virtual QFontEngine * | cloneWithSize (qreal) const |
virtual Qt::HANDLE | handle () const |
void * | harfbuzzFont () const |
void * | harfbuzzFace () const |
bool | supportsScript (QChar::Script script) const |
virtual int | getPointInOutline (glyph_t glyph, int flags, quint32 point, QFixed *xpos, QFixed *ypos, quint32 *nPoints) |
void | clearGlyphCache (const void *key) |
void | setGlyphCache (const void *key, QFontEngineGlyphCache *data) |
QFontEngineGlyphCache * | glyphCache (const void *key, GlyphFormat format, const QTransform &transform, const QColor &color=QColor()) const |
virtual bool | hasUnreliableGlyphOutline () const |
virtual bool | expectsGammaCorrectedBlending () const |
virtual void | setDefaultHintStyle (HintStyle) |
void | loadKerningPairs (QFixed scalingFactor) |
Static Public Member Functions | |
static uchar | highByte (glyph_t glyph) |
static QFontEngine * | createMultiFontEngine (QFontEngine *fe, int script) |
Static Public Member Functions inherited from QFontEngine | |
static bool | isIgnorableChar (char32_t ucs4) |
static bool | scriptRequiresOpenType (QChar::Script script) |
static const uchar * | getCMap (const uchar *table, uint tableSize, bool *isSymbolFont, int *cmapSize) |
static quint32 | getTrueTypeGlyphIndex (const uchar *cmap, int cmapSize, uint unicode) |
static QByteArray | convertToPostscriptFontFamilyName (const QByteArray &fontFamily) |
static bool | disableEmojiSegmenter () |
Protected Member Functions | |
virtual void | ensureFallbackFamiliesQueried () |
virtual bool | shouldLoadFontEngineForCharacter (int at, uint ucs4) const |
virtual QFontEngine * | loadEngine (int at) |
Protected Member Functions inherited from QFontEngine | |
QFontEngine (Type type) | |
QFixed | firstLeftBearing (const QGlyphLayout &glyphs) |
QFixed | lastRightBearing (const QGlyphLayout &glyphs) |
QFixed | calculatedCapHeight () const |
virtual void | initializeHeightMetrics () const |
bool | processHheaTable () const |
bool | processOS2Table () const |
Definition at line 450 of file qfontengine_p.h.
|
explicit |
Definition at line 1837 of file qfontengine.cpp.
QFontEngineMulti::~QFontEngineMulti | ( | ) |
Definition at line 1859 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2225 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2460 of file qfontengine.cpp.
Create a qimage with the alpha values for the glyph. Returns an image indexed_8 with index values ranging from 0=fully transparent to 255=opaque
Reimplemented from QFontEngine.
Definition at line 2454 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2472 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2466 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2480 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2379 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2398 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2155 of file qfontengine.cpp.
|
overridevirtual |
Implements QFontEngine.
Definition at line 2370 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2428 of file qfontengine.cpp.
|
overridevirtual |
Implements QFontEngine.
Definition at line 2382 of file qfontengine.cpp.
|
static |
Definition at line 2501 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2385 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2327 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2376 of file qfontengine.cpp.
|
inline |
Definition at line 500 of file qfontengine_p.h.
void QFontEngineMulti::ensureEngineAt | ( | int | at | ) |
Definition at line 1900 of file qfontengine.cpp.
|
protectedvirtual |
Definition at line 1870 of file qfontengine.cpp.
|
inline |
Definition at line 494 of file qfontengine_p.h.
|
inline |
Definition at line 493 of file qfontengine_p.h.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1978 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2218 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1936 of file qfontengine.cpp.
Implements QFontEngine.
Definition at line 1941 of file qfontengine.cpp.
Reimplemented from QFontEngine.
Definition at line 1971 of file qfontengine.cpp.
Definition at line 1830 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2388 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2403 of file qfontengine.cpp.
|
protectedvirtual |
Definition at line 1915 of file qfontengine.cpp.
|
overridevirtual |
Implements QFontEngine.
Definition at line 2413 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2418 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2423 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2284 of file qfontengine.cpp.
void QFontEngineMulti::setFallbackFamiliesList | ( | const QStringList & | fallbackFamilies | ) |
Definition at line 1881 of file qfontengine.cpp.
|
protectedvirtual |
Reimplemented in QFontEngineMultiFontConfig.
Definition at line 2148 of file qfontengine.cpp.
|
overridevirtual |
Implements QFontEngine.
Definition at line 1983 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2408 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2488 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2393 of file qfontengine.cpp.