|
| 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 () |
|
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 (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 |
|
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 |
|
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 |
|
virtual QFixed | emSquareSize () const |
|
virtual glyph_t | glyphIndex (uint ucs4) const =0 |
|
virtual bool | stringToCMap (const QChar *str, int len, QGlyphLayout *glyphs, int *nglyphs, ShaperFlags flags) const =0 |
|
virtual void | recalcAdvances (QGlyphLayout *, ShaperFlags) const |
|
virtual void | doKerning (QGlyphLayout *, ShaperFlags) 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) |
|
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 glyph, const QFixedPoint &subPixelPosition) |
|
virtual QImage | alphaMapForGlyph (glyph_t, const QTransform &t) |
|
virtual QImage | alphaMapForGlyph (glyph_t, const QFixedPoint &subPixelPosition, const QTransform &t) |
|
virtual QImage | alphaRGBMapForGlyph (glyph_t, const QFixedPoint &subPixelPosition, const QTransform &t) |
|
virtual QImage | bitmapForGlyph (glyph_t, const QFixedPoint &subPixelPosition, const QTransform &t, const QColor &color=QColor()) |
|
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 (const QGlyphLayout &glyphs) |
|
virtual glyph_metrics_t | boundingBox (glyph_t glyph)=0 |
|
virtual glyph_metrics_t | boundingBox (glyph_t glyph, const QTransform &matrix) |
|
glyph_metrics_t | tightBoundingBox (const QGlyphLayout &glyphs) |
|
virtual QFixed | ascent () const |
|
virtual QFixed | capHeight () const =0 |
|
virtual QFixed | descent () const |
|
virtual QFixed | leading () const |
|
virtual QFixed | xHeight () const |
|
virtual QFixed | averageCharWidth () const |
|
virtual QFixed | lineThickness () const |
|
virtual QFixed | underlinePosition () const |
|
virtual qreal | maxCharWidth () const =0 |
|
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 bool | canRender (const QChar *str, int len) const |
|
virtual bool | supportsTransformation (const QTransform &transform) const |
|
virtual int | glyphCount () 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) |
|
|
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
} |
|
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) |
|
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) |
|
| 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 |
|
virtual void | initializeHeightMetrics () 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 |
|
QFixed | m_ascent |
|
QFixed | m_descent |
|
QFixed | m_leading |
|
bool | m_heightMetricsQueried |
|
Definition at line 110 of file qfontengine_coretext.mm.