|
| QCoreTextRawFontEngine (CGFontRef font, const QFontDef &def, const QByteArray &fontData) |
QFontEngine * | cloneWithSize (qreal pixelSize) const |
| QCoreTextRawFontEngine (CGFontRef font, const QFontDef &def, const QByteArray &fontData) |
QFontEngine * | cloneWithSize (qreal pixelSize) const |
| QCoreTextFontEngine (CTFontRef font, const QFontDef &def) |
| QCoreTextFontEngine (CGFontRef font, const QFontDef &def) |
| ~QCoreTextFontEngine () |
int | glyphCount () const override |
glyph_t | glyphIndex (uint ucs4) const override |
QString | glyphName (glyph_t index) const override |
glyph_t | findGlyph (QLatin1StringView name) const override |
int | stringToCMap (const QChar *str, int len, QGlyphLayout *glyphs, int *nglyphs, ShaperFlags flags) const override |
void | recalcAdvances (QGlyphLayout *, ShaperFlags) const 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 |
| Returns true if the font table idetified by tag exists in the font; returns false otherwise.
|
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 |
Qt::HANDLE | handle () const override |
int | glyphMargin (QFontEngine::GlyphFormat format) override |
QFontEngine::Properties | properties () const override |
QList< QFontVariableAxis > | variableAxes () 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 (QFixed x) const |
bool | preferTypoLineMetrics () const |
bool | isColorFont () 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) |
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 void | removeGlyphFromCache (glyph_t) |
virtual glyph_metrics_t | boundingBox (const QGlyphLayout &glyphs) |
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 |
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) |
|
enum | FontSmoothing { Disabled
, Subpixel
, Grayscale
} |
enum | Type {
Box
, Multi
, Win
, Mac
,
Freetype
, QPF1
, QPF2
, Proxy
,
DirectWrite
, TestFontEngine = 0x1000
} |
enum | GlyphFormat {
Format_None
, Format_Render = Format_None
, Format_Mono
, Format_A8
,
Format_A32
, Format_ARGB
} |
enum | ShaperFlag { DesignMetrics = 0x0002
, GlyphIndicesOnly = 0x0004
, FullStringFallback = 0x008
} |
enum | SynthesizedFlags { SynthesizedItalic = 0x1
, SynthesizedBold = 0x2
, SynthesizedStretch = 0x4
} |
enum | HintStyle { HintNone
, HintLight
, HintMedium
, HintFull
} |
enum | SubpixelAntialiasingType {
Subpixel_None
, Subpixel_RGB
, Subpixel_BGR
, Subpixel_VRGB
,
Subpixel_VBGR
} |
static FontSmoothing | fontSmoothing () |
static qreal | fontSmoothingGamma () |
static bool | ct_getSfntTable (void *user_data, uint tag, uchar *buffer, uint *length) |
static QFont::Weight | qtWeightFromCFWeight (float value) |
static QCoreTextFontEngine * | create (const QByteArray &fontData, qreal pixelSize, QFont::HintingPreference hintingPreference, const QMap< QFont::Tag, float > &variableAxisValue) |
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 () |
| QCoreTextFontEngine (const QFontDef &def) |
void | init () |
QImage | imageForGlyph (glyph_t glyph, const QFixedPoint &subPixelPosition, const QTransform &m, const QColor &color=QColor()) |
void | loadAdvancesForGlyphs (QVarLengthArray< CGGlyph > &cgGlyphs, QGlyphLayout *glyphs) const |
bool | hasColorGlyphs () const |
bool | shouldAntialias () const |
bool | shouldSmoothFont () const |
void | initializeHeightMetrics () const override |
| QFontEngine (Type type) |
QFixed | firstLeftBearing (const QGlyphLayout &glyphs) |
QFixed | lastRightBearing (const QGlyphLayout &glyphs) |
QFixed | calculatedCapHeight () const |
bool | processHheaTable () const |
bool | processOS2Table () const |
QCFType< CTFontRef > | ctfont |
QCFType< CGFontRef > | cgFont |
int | synthesisFlags |
CGAffineTransform | transform |
QFixed | avgCharWidth |
QFixed | underlineThickness |
QFixed | underlinePos |
QFontEngine::FaceId | face_id |
bool | kerningPairsLoaded |
QList< QFontVariableAxis > | variableAxisList |
QFixed | m_ascent |
QFixed | m_descent |
QFixed | m_leading |
bool | m_heightMetricsQueried |
Definition at line 116 of file qfontengine_coretext.mm.