|
| QCoreTextFontEngine (CTFontRef font, const QFontDef &def) |
|
| QCoreTextFontEngine (CGFontRef font, const QFontDef &def) |
|
| ~QCoreTextFontEngine () |
|
glyph_t | glyphIndex (uint ucs4) const override |
|
bool | stringToCMap (const QChar *str, int len, QGlyphLayout *glyphs, int *nglyphs, ShaperFlags flags) const override |
|
void | recalcAdvances (QGlyphLayout *, ShaperFlags) const override |
|
glyph_metrics_t | boundingBox (const QGlyphLayout &glyphs) override |
|
glyph_metrics_t | boundingBox (glyph_t glyph) override |
|
QFixed | capHeight () const override |
|
QFixed | xHeight () const override |
|
qreal | maxCharWidth () const override |
|
QFixed | averageCharWidth () const override |
|
void | addGlyphsToPath (glyph_t *glyphs, QFixedPoint *positions, int numGlyphs, QPainterPath *path, QTextItem::RenderFlags) override |
|
bool | canRender (const QChar *string, int len) const override |
|
int | synthesized () const override |
|
bool | supportsHorizontalSubPixelPositions () const override |
|
bool | supportsVerticalSubPixelPositions () const override |
|
QFixed | lineThickness () const override |
|
QFixed | underlinePosition () const override |
|
void | draw (CGContextRef ctx, qreal x, qreal y, const QTextItemInt &ti, int paintDeviceHeight) |
|
FaceId | faceId () const override |
|
bool | getSfntTableData (uint, uchar *, uint *) const override |
|
void | getUnscaledGlyph (glyph_t glyph, QPainterPath *path, glyph_metrics_t *metrics) override |
|
QImage | alphaMapForGlyph (glyph_t, const QFixedPoint &subPixelPosition) override |
|
QImage | alphaMapForGlyph (glyph_t glyph, const QFixedPoint &subPixelPosition, const QTransform &t) override |
|
QImage | alphaRGBMapForGlyph (glyph_t, const QFixedPoint &subPixelPosition, const QTransform &t) override |
|
glyph_metrics_t | alphaMapBoundingBox (glyph_t glyph, const QFixedPoint &, const QTransform &matrix, GlyphFormat) override |
|
QImage | bitmapForGlyph (glyph_t, const QFixedPoint &subPixelPosition, const QTransform &t, const QColor &color) override |
|
QFixed | emSquareSize () const override |
|
void | doKerning (QGlyphLayout *g, ShaperFlags flags) const override |
|
bool | supportsTransformation (const QTransform &transform) const override |
|
bool | expectsGammaCorrectedBlending () const override |
|
QFontEngine * | cloneWithSize (qreal pixelSize) const override |
|
Qt::HANDLE | handle () const override |
|
int | glyphMargin (QFontEngine::GlyphFormat format) override |
|
QFontEngine::Properties | properties () const override |
|
| Q_ENUM (FontSmoothing) |
|
virtual | ~QFontEngine () |
|
Type | type () const |
|
QByteArray | getSfntTable (uint tag) const |
|
bool | supportsSubPixelPositions () const |
|
virtual QFixedPoint | subPixelPositionFor (const QFixedPoint &position) const |
|
QFixed | subPixelPositionForX (const QFixed &x) const |
|
void | getGlyphPositions (const QGlyphLayout &glyphs, const QTransform &matrix, QTextItem::RenderFlags flags, QVarLengthArray< glyph_t > &glyphs_out, QVarLengthArray< QFixedPoint > &positions) |
|
virtual void | addOutlineToPath (qreal, qreal, const QGlyphLayout &, QPainterPath *, QTextItem::RenderFlags flags) |
|
void | addBitmapFontToPath (qreal x, qreal y, const QGlyphLayout &, QPainterPath *, QTextItem::RenderFlags) |
|
virtual QImage | alphaMapForGlyph (glyph_t) |
|
virtual QImage | alphaMapForGlyph (glyph_t, const QTransform &t) |
|
virtual Glyph * | glyphData (glyph_t glyph, const QFixedPoint &subPixelPosition, GlyphFormat neededFormat, const QTransform &t) |
|
virtual bool | hasInternalCaching () const |
|
virtual void | removeGlyphFromCache (glyph_t) |
|
virtual glyph_metrics_t | boundingBox (glyph_t glyph, const QTransform &matrix) |
|
glyph_metrics_t | tightBoundingBox (const QGlyphLayout &glyphs) |
|
virtual QFixed | ascent () const |
|
virtual QFixed | descent () const |
|
virtual QFixed | leading () const |
|
virtual qreal | minLeftBearing () const |
|
virtual qreal | minRightBearing () const |
|
virtual void | getGlyphBearings (glyph_t glyph, qreal *leftBearing=nullptr, qreal *rightBearing=nullptr) |
|
bool | canRender (uint ucs4) const |
|
virtual int | glyphCount () 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 void | setDefaultHintStyle (HintStyle) |
|
void | loadKerningPairs (QFixed scalingFactor) |
|
Definition at line 67 of file qfontengine_coretext_p.h.
bool QCoreTextFontEngine::getSfntTableData |
( |
uint |
tag, |
|
|
uchar * |
buffer, |
|
|
uint * |
length |
|
) |
| const |
|
overridevirtual |
Returns true
if the font table idetified by tag exists in the font; returns false
otherwise.
If buffer is \nullptr, stores the size of the buffer required for the font table data, in bytes, in length. If buffer is not \nullptr and the capacity of the buffer, passed in length, is sufficient to store the font table data, also copies the font table data to buffer.
Note: returning false
when the font table exists could lead to an undefined behavior.
Reimplemented from QFontEngine.
Definition at line 902 of file qfontengine_coretext.mm.