Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QFontEngine Class Referenceabstract

#include <qfontengine_p.h>

+ Inheritance diagram for QFontEngine:
+ Collaboration diagram for QFontEngine:

Classes

struct  FaceData
 
struct  FaceId
 
struct  Glyph
 
class  Holder
 
struct  KernPair
 
struct  Properties
 

Public Types

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
}
 

Public Member Functions

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 isColorFont () const
 
virtual QFixed emSquareSize () const
 
virtual glyph_t glyphIndex (uint ucs4) const =0
 
virtual int 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 GlyphglyphData (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 QFontEnginecloneWithSize (qreal) const
 
virtual Qt::HANDLE handle () const
 
voidharfbuzzFont () const
 
voidharfbuzzFace () 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)
 
QFontEngineGlyphCacheglyphCache (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 bool isIgnorableChar (char32_t ucs4)
 
static bool scriptRequiresOpenType (QChar::Script script)
 
static const uchargetCMap (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)
 

Public Attributes

QAtomicInt ref
 
QFontDef fontDef
 
Holder font_
 
Holder face_
 
struct QFontEngine::FaceData faceData
 
uint cache_cost
 
uint fsType: 16
 
bool symbol
 
bool isSmoothlyScalable
 
QList< KernPairkerning_pairs
 
GlyphFormat glyphFormat
 
int m_subPixelPositionCount
 

Protected Member Functions

 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
 

Protected Attributes

QFixed m_ascent
 
QFixed m_descent
 
QFixed m_leading
 
bool m_heightMetricsQueried
 

Detailed Description

Definition at line 44 of file qfontengine_p.h.

Member Enumeration Documentation

◆ GlyphFormat

Enumerator
Format_None 
Format_Render 
Format_Mono 
Format_A8 
Format_A32 
Format_ARGB 

Definition at line 68 of file qfontengine_p.h.

◆ HintStyle

Enumerator
HintNone 
HintLight 
HintMedium 
HintFull 

Definition at line 255 of file qfontengine_p.h.

◆ ShaperFlag

Enumerator
DesignMetrics 
GlyphIndicesOnly 
FullStringFallback 

Definition at line 77 of file qfontengine_p.h.

◆ SubpixelAntialiasingType

Enumerator
Subpixel_None 
Subpixel_RGB 
Subpixel_BGR 
Subpixel_VRGB 
Subpixel_VBGR 

Definition at line 263 of file qfontengine_p.h.

◆ SynthesizedFlags

Enumerator
SynthesizedItalic 
SynthesizedBold 
SynthesizedStretch 

Definition at line 133 of file qfontengine_p.h.

◆ Type

Enumerator
Box 
Multi 
Win 
Mac 
Freetype 
QPF1 
QPF2 
Proxy 
DirectWrite 
TestFontEngine 

Definition at line 47 of file qfontengine_p.h.

Constructor & Destructor Documentation

◆ ~QFontEngine()

QFontEngine::~QFontEngine ( )
virtual

Definition at line 126 of file qfontengine.cpp.

◆ QFontEngine()

QFontEngine::QFontEngine ( Type type)
explicitprotected

Definition at line 101 of file qfontengine.cpp.

References cache_cost, faceData, Format_None, fsType, glyphFormat, isSmoothlyScalable, m_subPixelPositionCount, qt_get_font_table_default(), and symbol.

+ Here is the call graph for this function:

Member Function Documentation

◆ addBitmapFontToPath()

void QFontEngine::addBitmapFontToPath ( qreal x,
qreal y,
const QGlyphLayout & glyphs,
QPainterPath * path,
QTextItem::RenderFlags flags )

Definition at line 719 of file qfontengine.cpp.

References QGlyphLayout::advances, alphaMapForGlyph(), QImage::bits(), boundingBox(), QImage::bytesPerLine(), QImage::depth(), QImage::Format_Mono, QFixed::fromReal(), QGlyphLayout::glyphs, QImage::height(), i, imageData, QGlyphLayout::numGlyphs, QGlyphLayout::offsets, Q_UNUSED, qt_addBitmapToPath(), QImage::width(), and QFixedPoint::x.

Referenced by addGlyphsToPath(), and QWindowsFontEngine::addOutlineToPath().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addGlyphsToPath()

void QFontEngine::addGlyphsToPath ( glyph_t * glyphs,
QFixedPoint * positions,
int nglyphs,
QPainterPath * path,
QTextItem::RenderFlags flags )
virtual

Reimplemented in QFontEngineFT, QWindowsFontEngine, QWindowsFontEngineDirectWrite, and QCoreTextFontEngine.

Definition at line 768 of file qfontengine.cpp.

References addBitmapFontToPath(), QFixed::fromReal(), i, maxCharWidth(), and positions.

Referenced by addOutlineToPath(), alphaMapForGlyph(), QTextureGlyphCache::calculateSubPixelPositionCount(), QPaintEngineEx::drawStaticTextItem(), getUnscaledGlyph(), QRawFont::pathForGlyph(), and QDistanceField::setGlyph().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addOutlineToPath()

void QFontEngine::addOutlineToPath ( qreal x,
qreal y,
const QGlyphLayout & glyphs,
QPainterPath * path,
QTextItem::RenderFlags flags )
virtual

Reimplemented in QFontEngineFT, QFontEngineBox, QWindowsFontEngine, and QFontEngineMulti.

Definition at line 612 of file qfontengine.cpp.

References addGlyphsToPath(), QTransform::fromTranslate(), getGlyphPositions(), QGlyphLayout::numGlyphs, and positions.

Referenced by QFontEngineFT::addOutlineToPath(), and QWindowsFontEngine::addOutlineToPath().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ alphaMapBoundingBox()

virtual glyph_metrics_t QFontEngine::alphaMapBoundingBox ( glyph_t glyph,
const QFixedPoint & ,
const QTransform & matrix,
GlyphFormat  )
inlinevirtual

Reimplemented in QCoreTextFontEngine, QWindowsFontEngine, QWindowsFontEngineDirectWrite, and QFontEngineFT.

Definition at line 191 of file qfontengine_p.h.

Referenced by QCoreTextFontEngine::alphaMapBoundingBox(), and QTextureGlyphCache::populate().

+ Here is the caller graph for this function:

◆ alphaMapForGlyph() [1/4]

QImage QFontEngine::alphaMapForGlyph ( glyph_t glyph,
const QFixedPoint & subPixelPosition )
virtual

Reimplemented in QFontEngineMulti, QWindowsFontEngineDirectWrite, QFontEngineFT, and QCoreTextFontEngine.

Definition at line 785 of file qfontengine.cpp.

References alphaMapForGlyph().

+ Here is the call graph for this function:

◆ alphaMapForGlyph() [2/4]

QImage QFontEngine::alphaMapForGlyph ( glyph_t glyph)
virtual

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 in QFontEngineFT, QWindowsFontEngine, QFontEngineBox, and QFontEngineMulti.

Definition at line 866 of file qfontengine.cpp.

References addGlyphsToPath(), QPainter::Antialiasing, Qt::black, boundingBox(), QImage::constScanLine(), QImage::fill(), QImage::Format_Alpha8, QImage::Format_ARGB32_Premultiplied, QImage::height(), Qt::NoPen, qAlpha(), qCeil(), qFloor(), Qt::transparent, QImage::width(), Qt::WindingFill, QFixedPoint::x, and QFixedPoint::y.

Referenced by addBitmapFontToPath(), alphaMapForGlyph(), QCoreTextFontEngine::alphaMapForGlyph(), alphaMapForGlyph(), alphaMapForGlyph(), QRawFont::alphaMapForGlyph(), alphaRGBMapForGlyph(), and QTextureGlyphCache::textureMapForGlyph().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ alphaMapForGlyph() [3/4]

QImage QFontEngine::alphaMapForGlyph ( glyph_t glyph,
const QFixedPoint & subPixelPosition,
const QTransform & t )
virtual

Reimplemented in QCoreTextFontEngine, QFontEngineFT, QWindowsFontEngineDirectWrite, and QFontEngineMulti.

Definition at line 801 of file qfontengine.cpp.

References alphaMapForGlyph(), QImage::Format_Alpha8, i, Q_ASSERT, supportsHorizontalSubPixelPositions(), supportsVerticalSubPixelPositions(), and QTransform::TxTranslate.

+ Here is the call graph for this function:

◆ alphaMapForGlyph() [4/4]

QImage QFontEngine::alphaMapForGlyph ( glyph_t glyph,
const QTransform & t )
virtual

Reimplemented in QFontEngineMulti, and QWindowsFontEngine.

Definition at line 791 of file qfontengine.cpp.

References alphaMapForGlyph(), QImage::Format_Alpha8, i, Q_ASSERT, and QTransform::TxTranslate.

+ Here is the call graph for this function:

◆ alphaRGBMapForGlyph()

QImage QFontEngine::alphaRGBMapForGlyph ( glyph_t glyph,
const QFixedPoint & subPixelPosition,
const QTransform & t )
virtual

Reimplemented in QWindowsFontEngine, QWindowsFontEngineDirectWrite, QCoreTextFontEngine, QFontEngineFT, and QFontEngineMulti.

Definition at line 814 of file qfontengine.cpp.

References alphaMapForGlyph(), QImage::constScanLine(), QImage::Format_RGB32, QImage::height(), qRgb(), and QImage::width().

Referenced by QRawFont::alphaMapForGlyph(), QCoreTextFontEngine::alphaRGBMapForGlyph(), QFontEngineFT::alphaRGBMapForGlyph(), and QTextureGlyphCache::textureMapForGlyph().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ascent()

QFixed QFontEngine::ascent ( ) const
virtual

Reimplemented in QFontEngineBox, and QFontEngineMulti.

Definition at line 477 of file qfontengine.cpp.

References initializeHeightMetrics(), m_ascent, and m_heightMetricsQueried.

Referenced by QRawFont::ascent(), boundingBox(), QFontEngineFT::boundingBox(), QWindowsFontEngineDirectWrite::boundingBox(), processHheaTable(), properties(), QScriptLine::setDefaultHeight(), QFontMetrics::xHeight(), and QFontMetricsF::xHeight().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ averageCharWidth()

QFixed QFontEngine::averageCharWidth ( ) const
virtual

Reimplemented in QCoreTextFontEngine, QFontEngineFT, QFontEngineMulti, and QWindowsFontEngine.

Definition at line 241 of file qfontengine.cpp.

References boundingBox(), and glyphIndex().

Referenced by QRawFont::averageCharWidth(), QFontEngineFT::averageCharWidth(), and QCoreTextFontEngine::init().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bitmapForGlyph()

QImage QFontEngine::bitmapForGlyph ( glyph_t ,
const QFixedPoint & subPixelPosition,
const QTransform & t,
const QColor & color = QColor() )
virtual

Reimplemented in QCoreTextFontEngine, QFontEngineFT, and QWindowsFontEngineDirectWrite.

Definition at line 831 of file qfontengine.cpp.

References Q_UNUSED.

Referenced by QRawFont::alphaMapForGlyph(), QCoreTextFontEngine::bitmapForGlyph(), and QTextureGlyphCache::textureMapForGlyph().

+ Here is the caller graph for this function:

◆ boundingBox() [1/3]

glyph_metrics_t QFontEngine::boundingBox ( const QGlyphLayout & glyphs)
virtual

Reimplemented in QFontEngineFT, QFontEngineBox, QFontEngineMulti, and QWindowsFontEngineDirectWrite.

Definition at line 575 of file qfontengine.cpp.

References ascent(), descent(), QGlyphLayout::effectiveAdvance(), firstLeftBearing(), i, lastRightBearing(), and QGlyphLayout::numGlyphs.

Referenced by addBitmapFontToPath(), alphaMapForGlyph(), averageCharWidth(), boundingBox(), QRawFont::boundingRect(), calculatedCapHeight(), firstLeftBearing(), getGlyphBearings(), getUnscaledGlyph(), lastRightBearing(), minRightBearing(), qt_draw_decoration_for_glyphs(), tightBoundingBox(), visibleGlyphRange(), and xHeight().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ boundingBox() [2/3]

virtual glyph_metrics_t QFontEngine::boundingBox ( glyph_t glyph)
pure virtual

◆ boundingBox() [3/3]

glyph_metrics_t QFontEngine::boundingBox ( glyph_t glyph,
const QTransform & matrix )
virtual

Reimplemented in QWindowsFontEngine, and QFontEngineFT.

Definition at line 217 of file qfontengine.cpp.

References boundingBox(), and QTransform::TxTranslate.

+ Here is the call graph for this function:

◆ calculatedCapHeight()

QFixed QFontEngine::calculatedCapHeight ( ) const
protected

Definition at line 227 of file qfontengine.cpp.

References boundingBox(), and glyphIndex().

Referenced by QCoreTextFontEngine::capHeight(), QFontEngineFT::capHeight(), QWindowsFontEngine::capHeight(), and QWindowsFontEngineDirectWrite::capHeight().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ canRender() [1/2]

bool QFontEngine::canRender ( const QChar * str,
int len ) const
virtual

Reimplemented in QCoreTextFontEngine, QFontEngineBox, and QFontEngineMulti.

Definition at line 206 of file qfontengine.cpp.

References glyphIndex(), it, and str.

+ Here is the call graph for this function:

◆ canRender() [2/2]

bool QFontEngine::canRender ( uint ucs4) const
inline

Definition at line 219 of file qfontengine_p.h.

Referenced by QRawFont::supportsCharacter().

+ Here is the caller graph for this function:

◆ capHeight()

virtual QFixed QFontEngine::capHeight ( ) const
pure virtual

Implemented in QCoreTextFontEngine, QFontEngineFT, QFontEngineBox, QFontEngineMulti, QWindowsFontEngine, and QWindowsFontEngineDirectWrite.

Referenced by QRawFont::capHeight().

+ Here is the caller graph for this function:

◆ clearGlyphCache()

void QFontEngine::clearGlyphCache ( const void * key)

Definition at line 964 of file qfontengine.cpp.

References context, and QHash< Key, T >::remove().

+ Here is the call graph for this function:

◆ cloneWithSize()

virtual QFontEngine * QFontEngine::cloneWithSize ( qreal ) const
inlinevirtual

Reimplemented in QCoreTextRawFontEngine, QCoreTextFontEngine, QFontEngineFT, QFontEngineBox, QWindowsFontEngine, and QWindowsFontEngineDirectWrite.

Definition at line 227 of file qfontengine_p.h.

Referenced by QTextEngine::fontEngine(), qt_fontHasNarrowOutlines(), and QRawFont::setPixelSize().

+ Here is the caller graph for this function:

◆ convertToPostscriptFontFamilyName()

QByteArray QFontEngine::convertToPostscriptFontFamilyName ( const QByteArray & fontFamily)
static

Definition at line 1450 of file qfontengine.cpp.

References QByteArray::replace().

Referenced by properties(), QFontEngineFT::properties(), and QWindowsFontEngine::properties().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ descent()

QFixed QFontEngine::descent ( ) const
virtual

Reimplemented in QFontEngineBox, and QFontEngineMulti.

Definition at line 485 of file qfontengine.cpp.

References initializeHeightMetrics(), m_descent, and m_heightMetricsQueried.

Referenced by boundingBox(), QFontEngineFT::boundingBox(), QWindowsFontEngineDirectWrite::boundingBox(), QRawFont::descent(), processHheaTable(), properties(), and QScriptLine::setDefaultHeight().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ doKerning()

void QFontEngine::doKerning ( QGlyphLayout * ,
ShaperFlags  ) const
virtual

Reimplemented in QFontEngineFT, QFontEngineMulti, and QCoreTextFontEngine.

Definition at line 1030 of file qfontengine.cpp.

References QGlyphLayout::advances, DesignMetrics, QGlyphLayout::glyphs, i, kerning(), kerning_pairs, QGlyphLayout::numGlyphs, and qRound().

Referenced by QRawFont::advancesForGlyphIndexes(), QFontEngineFT::doKerning(), and QCoreTextFontEngine::doKerning().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emSquareSize()

virtual QFixed QFontEngine::emSquareSize ( ) const
inlinevirtual

Reimplemented in QCoreTextFontEngine, QFontEngineFT, QWindowsFontEngine, and QWindowsFontEngineDirectWrite.

Definition at line 161 of file qfontengine_p.h.

Referenced by QWindowsFontEngineDirectWrite::emSquareSize(), minRightBearing(), processHheaTable(), processOS2Table(), and QRawFont::unitsPerEm().

+ Here is the caller graph for this function:

◆ expectsGammaCorrectedBlending()

bool QFontEngine::expectsGammaCorrectedBlending ( ) const
virtual

Reimplemented in QCoreTextFontEngine, and QFontEngineFT.

Definition at line 253 of file qfontengine.cpp.

Referenced by QRasterPaintEngine::drawCachedGlyphs().

+ Here is the caller graph for this function:

◆ faceId()

virtual FaceId QFontEngine::faceId ( ) const
inlinevirtual

◆ firstLeftBearing()

QFixed QFontEngine::firstLeftBearing ( const QGlyphLayout & glyphs)
protected

Definition at line 1476 of file qfontengine.cpp.

References boundingBox(), QGlyphLayout::glyphs, i, and QGlyphLayout::numGlyphs.

Referenced by boundingBox(), and QWindowsFontEngineDirectWrite::boundingBox().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCMap()

const uchar * QFontEngine::getCMap ( const uchar * table,
uint tableSize,
bool * isSymbolFont,
int * cmapSize )
static

Definition at line 1157 of file qfontengine.cpp.

References getTrueTypeGlyphIndex(), header(), Invalid, and qSafeFromBigEndian().

Referenced by QWindowsFontEngine::getCMap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getGlyphBearings()

void QFontEngine::getGlyphBearings ( glyph_t glyph,
qreal * leftBearing = nullptr,
qreal * rightBearing = nullptr )
virtual

Reimplemented in QFontEngineMulti, and QWindowsFontEngine.

Definition at line 376 of file qfontengine.cpp.

References boundingBox().

Referenced by QWindowsFontEngine::getGlyphBearings().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getGlyphPositions()

void QFontEngine::getGlyphPositions ( const QGlyphLayout & glyphs,
const QTransform & matrix,
QTextItem::RenderFlags flags,
QVarLengthArray< glyph_t > & glyphs_out,
QVarLengthArray< QFixedPoint > & positions )

Definition at line 258 of file qfontengine.cpp.

References QGlyphLayout::advances, QGlyphLayout::attributes, ch, QGlyphAttributes::dontPrint, QFixed::fromFixed(), QFixed::fromReal(), glyphIndex(), QGlyphLayout::glyphs, i, QGlyphLayout::justifications, QGlyphJustification::nKashidas, QGlyphLayout::numGlyphs, QGlyphLayout::offsets, positions, Q_ASSERT, recalcAdvances(), QTextItem::RightToLeft, QGlyphJustification::space_18d6, QFixedPoint::x, and QFixedPoint::y.

Referenced by QFontEngineFT::addOutlineToPath(), QFontEngineBox::addOutlineToPath(), addOutlineToPath(), QCoreTextFontEngine::draw(), and glyphRunWithInfo().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getPointInOutline()

int QFontEngine::getPointInOutline ( glyph_t glyph,
int flags,
quint32 point,
QFixed * xpos,
QFixed * ypos,
quint32 * nPoints )
virtual

Reimplemented in QFontEngineFT.

Definition at line 58 of file qfontengine.cpp.

References Err_Not_Covered, and Q_UNUSED.

◆ getSfntTable()

QByteArray QFontEngine::getSfntTable ( uint tag) const

Definition at line 952 of file qfontengine.cpp.

References getSfntTableData(), QByteArray(), QByteArray::resize(), and tag.

Referenced by QWindowsFontEngine::capHeight(), QRawFont::fontTable(), QWindowsFontEngine::getCMap(), glyphCount(), QCoreTextFontEngine::init(), initializeHeightMetrics(), loadKerningPairs(), minRightBearing(), processHheaTable(), processOS2Table(), and QFontSubset::toTruetype().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getSfntTableData()

bool QFontEngine::getSfntTableData ( uint tag,
uchar * buffer,
uint * length ) const
virtual

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 in QFontEngineFT, QWindowsFontEngine, QWindowsFontEngineDirectWrite, and QCoreTextFontEngine.

Definition at line 944 of file qfontengine.cpp.

References Q_UNUSED, and tag.

Referenced by getSfntTable(), and supportsScript().

+ Here is the caller graph for this function:

◆ getTrueTypeGlyphIndex()

quint32 QFontEngine::getTrueTypeGlyphIndex ( const uchar * cmap,
int cmapSize,
uint unicode )
static

Definition at line 1315 of file qfontengine.cpp.

References glyphIndex(), i, ptr(), qDebug, and qSafeFromBigEndian().

Referenced by getCMap(), QWindowsFontEngine::getGlyphIndexes(), and QWindowsFontEngine::glyphIndex().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getUnscaledGlyph()

void QFontEngine::getUnscaledGlyph ( glyph_t glyph,
QPainterPath * path,
glyph_metrics_t * metrics )
virtual

Reimplemented in QCoreTextFontEngine, QFontEngineFT, QWindowsFontEngine, and QWindowsFontEngineDirectWrite.

Definition at line 924 of file qfontengine.cpp.

References addGlyphsToPath(), boundingBox(), and QFixedPoint::x.

Referenced by QFontSubset::toTruetype().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glyphCache()

QFontEngineGlyphCache * QFontEngine::glyphCache ( const void * key,
GlyphFormat format,
const QTransform & transform,
const QColor & color = QColor() ) const

Definition at line 990 of file qfontengine.cpp.

References cache, caches, QHash< Key, T >::cend(), QHash< Key, T >::constFind(), context, Format_ARGB, and qtransform_equals_no_translate().

Referenced by QDirectFbBlitter::drawCachedGlyphs(), and QRasterPaintEngine::drawCachedGlyphs().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ glyphCount()

int QFontEngine::glyphCount ( ) const
virtual

Reimplemented in QFontEngineFT.

Definition at line 1138 of file qfontengine.cpp.

References getSfntTable(), and qSafeFromBigEndian().

+ Here is the call graph for this function:

◆ glyphData()

QFontEngine::Glyph * QFontEngine::glyphData ( glyph_t glyph,
const QFixedPoint & subPixelPosition,
QFontEngine::GlyphFormat neededFormat,
const QTransform & t )
virtual

Reimplemented in QFontEngineFT.

Definition at line 858 of file qfontengine.cpp.

Referenced by QRasterPaintEngine::drawCachedGlyphs().

+ Here is the caller graph for this function:

◆ glyphIndex()

virtual glyph_t QFontEngine::glyphIndex ( uint ucs4) const
pure virtual

Implemented in QCoreTextFontEngine, QFontEngineFT, QFontEngineBox, QFontEngineMulti, QWindowsFontEngine, and QWindowsFontEngineDirectWrite.

Referenced by applyVisibilityRules(), averageCharWidth(), calculatedCapHeight(), canRender(), getGlyphPositions(), QFontSubset::getReverseMap(), getTrueTypeGlyphIndex(), minRightBearing(), and xHeight().

+ Here is the caller graph for this function:

◆ glyphMargin()

virtual int QFontEngine::glyphMargin ( GlyphFormat format)
inlinevirtual

Reimplemented in QCoreTextFontEngine, and QFontEngineFT.

Definition at line 225 of file qfontengine_p.h.

Referenced by QWindowsFontEngine::alphaMapBoundingBox(), QWindowsFontEngineDirectWrite::alphaMapForGlyph(), QWindowsFontEngine::alphaRGBMapForGlyph(), QWindowsFontEngineDirectWrite::alphaRGBMapForGlyph(), QDirectFbBlitter::drawCachedGlyphs(), QRasterPaintEngine::drawCachedGlyphs(), and QImageTextureGlyphCache::fillTexture().

+ Here is the caller graph for this function:

◆ handle()

Qt::HANDLE QFontEngine::handle ( ) const
virtual

◆ harfbuzzFace()

void * QFontEngine::harfbuzzFace ( ) const

Definition at line 162 of file qfontengine.cpp.

References hb_qt_face_get_for_engine(), Multi, Q_ASSERT, and type().

Referenced by QFontEngineFT::init().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ harfbuzzFont()

void * QFontEngine::harfbuzzFont ( ) const

Definition at line 152 of file qfontengine.cpp.

References hb_qt_font_get_for_engine(), Multi, Q_ASSERT, and type().

+ Here is the call graph for this function:

◆ hasInternalCaching()

virtual bool QFontEngine::hasInternalCaching ( ) const
inlinevirtual

Reimplemented in QFontEngineFT.

Definition at line 189 of file qfontengine_p.h.

Referenced by QRasterPaintEngine::drawCachedGlyphs(), and QRasterPaintEngine::shouldDrawCachedGlyphs().

+ Here is the caller graph for this function:

◆ hasUnreliableGlyphOutline()

bool QFontEngine::hasUnreliableGlyphOutline ( ) const
virtual

Reimplemented in QWindowsFontEngine.

Definition at line 1470 of file qfontengine.cpp.

References Format_ARGB, and glyphFormat.

Referenced by QWindowsFontEngine::hasUnreliableGlyphOutline().

+ Here is the caller graph for this function:

◆ initializeHeightMetrics()

void QFontEngine::initializeHeightMetrics ( ) const
protectedvirtual

Reimplemented in QCoreTextFontEngine, QFontEngineFT, QWindowsFontEngine, and QWindowsFontEngineDirectWrite.

Definition at line 410 of file qfontengine.cpp.

References getSfntTable(), QByteArray::isEmpty(), m_ascent, m_descent, m_heightMetricsQueried, m_leading, processHheaTable(), processOS2Table(), QFixed::round(), and supportsSubPixelPositions().

Referenced by ascent(), descent(), QFontEngineFT::initializeHeightMetrics(), QWindowsFontEngine::initializeHeightMetrics(), QWindowsFontEngineDirectWrite::initializeHeightMetrics(), and leading().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isColorFont()

bool QFontEngine::isColorFont ( ) const
inline

Definition at line 151 of file qfontengine_p.h.

Referenced by QFontEngineMulti::stringToCMap().

+ Here is the caller graph for this function:

◆ isIgnorableChar()

static bool QFontEngine::isIgnorableChar ( char32_t ucs4)
inlinestatic

Definition at line 152 of file qfontengine_p.h.

Referenced by QWindowsFontEngine::getGlyphIndexes(), QFontEngineMulti::glyphIndex(), QCoreTextFontEngine::stringToCMap(), QFontEngineFT::stringToCMap(), QFontEngineMulti::stringToCMap(), and QWindowsFontEngineDirectWrite::stringToCMap().

+ Here is the caller graph for this function:

◆ lastRightBearing()

QFixed QFontEngine::lastRightBearing ( const QGlyphLayout & glyphs)
protected

Definition at line 1487 of file qfontengine.cpp.

References boundingBox(), QGlyphLayout::glyphs, and QGlyphLayout::numGlyphs.

Referenced by boundingBox(), and QWindowsFontEngineDirectWrite::boundingBox().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ leading()

QFixed QFontEngine::leading ( ) const
virtual

Reimplemented in QFontEngineBox, and QFontEngineMulti.

Definition at line 469 of file qfontengine.cpp.

References initializeHeightMetrics(), m_heightMetricsQueried, and m_leading.

Referenced by QFontEngineFT::init(), QRawFont::leading(), processHheaTable(), properties(), and QScriptLine::setDefaultHeight().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ lineThickness()

QFixed QFontEngine::lineThickness ( ) const
virtual

Reimplemented in QCoreTextFontEngine, QFontEngineFT, QFontEngineMulti, QWindowsFontEngine, and QWindowsFontEngineDirectWrite.

Definition at line 134 of file qfontengine.cpp.

References fontDef, QFontDef::pixelSize, and QFontDef::weight.

Referenced by QFontEngineBox::draw(), QRawFont::lineThickness(), QWindowsFontEngine::lineThickness(), QWindowsFontEngineDirectWrite::lineThickness(), properties(), and underlinePosition().

+ Here is the caller graph for this function:

◆ loadKerningPairs()

void QFontEngine::loadKerningPairs ( QFixed scalingFactor)

Definition at line 1047 of file qfontengine.cpp.

References QByteArray::constData(), getSfntTable(), header(), i, QByteArray::isEmpty(), kerning_pairs, QFontEngine::KernPair::left_right, qSafeFromBigEndian(), and QByteArray::size().

Referenced by QFontEngineFT::doKerning(), QCoreTextFontEngine::doKerning(), and QWindowsFontEngine::getCMap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ maxCharWidth()

virtual qreal QFontEngine::maxCharWidth ( ) const
pure virtual

Implemented in QCoreTextFontEngine, QFontEngineFT, QFontEngineBox, QFontEngineMulti, QWindowsFontEngine, and QWindowsFontEngineDirectWrite.

Referenced by addGlyphsToPath(), QRawFont::maxCharWidth(), QTextureGlyphCache::populate(), properties(), and QFontSubset::toTruetype().

+ Here is the caller graph for this function:

◆ minLeftBearing()

qreal QFontEngine::minLeftBearing ( ) const
virtual

Reimplemented in QFontEngineBox, QFontEngineMulti, and QWindowsFontEngine.

Definition at line 493 of file qfontengine.cpp.

References kBearingNotInitialized, and minRightBearing().

Referenced by QFontSubset::toTruetype().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ minRightBearing()

qreal QFontEngine::minRightBearing ( ) const
virtual

Reimplemented in QFontEngineBox, QFontEngineMulti, and QWindowsFontEngine.

Definition at line 506 of file qfontengine.cpp.

References boundingBox(), emSquareSize(), QFontDef::families, fontDef, getSfntTable(), glyphIndex(), glyph_metrics_t::height, i, kBearingNotInitialized, kMinLeftSideBearingOffset, kMinRightSideBearingOffset, glyph_metrics_t::leftBearing(), QFontDef::pixelSize, q16Dot16ToFloat, Q_ASSERT, qAbs(), qMin(), qWarning, glyph_metrics_t::rightBearing(), QFixed::toReal(), and glyph_metrics_t::width.

Referenced by minLeftBearing(), and QFontSubset::toTruetype().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ processHheaTable()

bool QFontEngine::processHheaTable ( ) const
protected

Definition at line 385 of file qfontengine.cpp.

References ascent(), QByteArray::constData(), descent(), emSquareSize(), fontDef, QFixed::fromReal(), getSfntTable(), leading(), m_ascent, m_descent, m_leading, QFontDef::pixelSize, ptr(), and QByteArray::size().

Referenced by initializeHeightMetrics().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ processOS2Table()

bool QFontEngine::processOS2Table ( ) const
protected

Definition at line 433 of file qfontengine.cpp.

References emSquareSize(), fontDef, QFixed::fromReal(), getSfntTable(), m_ascent, m_descent, m_leading, QFontDef::pixelSize, and ptr().

Referenced by initializeHeightMetrics().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ properties()

QFontEngine::Properties QFontEngine::properties ( ) const
virtual

Reimplemented in QCoreTextFontEngine, QFontEngineFT, QWindowsFontEngine, and QWindowsFontEngineDirectWrite.

Definition at line 907 of file qfontengine.cpp.

References ascent(), convertToPostscriptFontFamilyName(), descent(), QFontDef::families, fontDef, leading(), lineThickness(), maxCharWidth(), QByteArray::number(), QFontEngine::Properties::postscriptName, QFontDef::style, and QFontDef::weight.

Referenced by QWindowsFontEngineDirectWrite::properties(), QFontSubset::toTruetype(), and QFontSubset::widthArray().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ recalcAdvances()

virtual void QFontEngine::recalcAdvances ( QGlyphLayout * ,
ShaperFlags  ) const
inlinevirtual

Reimplemented in QCoreTextFontEngine, QFontEngineBox, QFontEngineMulti, QFontEngineFT, QWindowsFontEngine, and QWindowsFontEngineDirectWrite.

Definition at line 166 of file qfontengine_p.h.

Referenced by QRawFont::advancesForGlyphIndexes(), applyVisibilityRules(), and getGlyphPositions().

+ Here is the caller graph for this function:

◆ removeGlyphFromCache()

void QFontEngine::removeGlyphFromCache ( glyph_t )
virtual

Reimplemented in QFontEngineFT.

Definition at line 903 of file qfontengine.cpp.

◆ scriptRequiresOpenType()

static bool QFontEngine::scriptRequiresOpenType ( QChar::Script script)
inlinestatic

Definition at line 235 of file qfontengine_p.h.

Referenced by supportsScript().

+ Here is the caller graph for this function:

◆ setDefaultHintStyle()

virtual void QFontEngine::setDefaultHintStyle ( HintStyle )
inlinevirtual

Reimplemented in QFontEngineFT.

Definition at line 261 of file qfontengine_p.h.

◆ setGlyphCache()

void QFontEngine::setGlyphCache ( const void * key,
QFontEngineGlyphCache * data )

Definition at line 969 of file qfontengine.cpp.

References cache, caches, context, and Q_ASSERT.

Referenced by QDirectFbBlitter::drawCachedGlyphs(), and QRasterPaintEngine::drawCachedGlyphs().

+ Here is the caller graph for this function:

◆ stringToCMap()

virtual int QFontEngine::stringToCMap ( const QChar * str,
int len,
QGlyphLayout * glyphs,
int * nglyphs,
ShaperFlags flags ) const
pure virtual

Implemented in QCoreTextFontEngine, QFontEngineFT, QFontEngineBox, QFontEngineMulti, QWindowsFontEngine, and QWindowsFontEngineDirectWrite.

Referenced by QRawFont::glyphIndexesForChars(), and QRawFont::glyphIndexesForString().

+ Here is the caller graph for this function:

◆ subPixelPositionFor()

QFixedPoint QFontEngine::subPixelPositionFor ( const QFixedPoint & position) const
virtual

Definition at line 838 of file qfontengine.cpp.

References QFixed::fromFixed(), m_subPixelPositionCount, position(), supportsHorizontalSubPixelPositions(), and supportsVerticalSubPixelPositions().

Referenced by QRasterPaintEngine::drawCachedGlyphs(), and QTextureGlyphCache::populate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ subPixelPositionForX()

QFixed QFontEngine::subPixelPositionForX ( QFixed x) const
inline

Definition at line 146 of file qfontengine_p.h.

Referenced by QDirectFbBlitter::drawCachedGlyphs().

+ Here is the caller graph for this function:

◆ supportsHorizontalSubPixelPositions()

virtual bool QFontEngine::supportsHorizontalSubPixelPositions ( ) const
inlinevirtual

Reimplemented in QCoreTextFontEngine, QFontEngineFT, and QWindowsFontEngineDirectWrite.

Definition at line 143 of file qfontengine_p.h.

Referenced by alphaMapForGlyph(), and subPixelPositionFor().

+ Here is the caller graph for this function:

◆ supportsScript()

bool QFontEngine::supportsScript ( QChar::Script script) const

Definition at line 172 of file qfontengine.cpp.

References getSfntTableData(), hb_qt_face_get_for_engine(), hb_qt_script_to_script(), Multi, scriptRequiresOpenType(), and type().

+ Here is the call graph for this function:

◆ supportsSubPixelPositions()

bool QFontEngine::supportsSubPixelPositions ( ) const
inline

Definition at line 139 of file qfontengine_p.h.

Referenced by initializeHeightMetrics(), and QTextureGlyphCache::populate().

+ Here is the caller graph for this function:

◆ supportsTransformation()

bool QFontEngine::supportsTransformation ( const QTransform & transform) const
virtual

Reimplemented in QCoreTextFontEngine, QFontEngineFT, and QWindowsFontEngine.

Definition at line 248 of file qfontengine.cpp.

References QTransform::TxProject.

Referenced by QOpenGL2PaintEngineEx::shouldDrawCachedGlyphs(), and QRasterPaintEngine::shouldDrawCachedGlyphs().

+ Here is the caller graph for this function:

◆ supportsVerticalSubPixelPositions()

virtual bool QFontEngine::supportsVerticalSubPixelPositions ( ) const
inlinevirtual

Reimplemented in QCoreTextFontEngine, and QFontEngineFT.

Definition at line 144 of file qfontengine_p.h.

Referenced by alphaMapForGlyph(), QRasterPaintEngine::drawCachedGlyphs(), QTextureGlyphCache::populate(), and subPixelPositionFor().

+ Here is the caller graph for this function:

◆ synthesized()

virtual int QFontEngine::synthesized ( ) const
inlinevirtual

Reimplemented in QCoreTextFontEngine, QFontEngineFT, and QWindowsFontEngine.

Definition at line 138 of file qfontengine_p.h.

◆ tightBoundingBox()

glyph_metrics_t QFontEngine::tightBoundingBox ( const QGlyphLayout & glyphs)

Definition at line 585 of file qfontengine.cpp.

References QGlyphLayout::advances, QGlyphLayout::attributes, boundingBox(), QFixed::ceil(), QGlyphAttributes::dontPrint, QGlyphLayout::effectiveAdvance(), QGlyphLayout::glyphs, i, QGlyphLayout::numGlyphs, QGlyphLayout::offsets, qMax(), qMin(), QFixedPoint::x, and QFixedPoint::y.

+ Here is the call graph for this function:

◆ type()

Type QFontEngine::type ( ) const
inline

Definition at line 102 of file qfontengine_p.h.

Referenced by QOpenGL2PaintEngineExPrivate::drawCachedGlyphs(), QWindowsFontDatabase::fontEngine(), QTextEngine::fontEngine(), harfbuzzFace(), harfbuzzFont(), and supportsScript().

+ Here is the caller graph for this function:

◆ underlinePosition()

QFixed QFontEngine::underlinePosition ( ) const
virtual

Reimplemented in QCoreTextFontEngine, QFontEngineFT, QFontEngineMulti, and QWindowsFontEngineDirectWrite.

Definition at line 147 of file qfontengine.cpp.

References lineThickness().

Referenced by QRawFont::underlinePosition(), and QWindowsFontEngineDirectWrite::underlinePosition().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ xHeight()

QFixed QFontEngine::xHeight ( ) const
virtual

Reimplemented in QCoreTextFontEngine, QFontEngineFT, QFontEngineMulti, QWindowsFontEngine, and QWindowsFontEngineDirectWrite.

Definition at line 234 of file qfontengine.cpp.

References boundingBox(), and glyphIndex().

Referenced by QRawFont::xHeight(), QFontEngineFT::xHeight(), and QWindowsFontEngine::xHeight().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ cache_cost

◆ face_

Holder QFontEngine::face_
mutable

Definition at line 312 of file qfontengine_p.h.

Referenced by QFontEngineFT::init().

◆ faceData

struct QFontEngine::FaceData QFontEngine::faceData

Referenced by QFontEngine(), and QFontEngineFT::init().

◆ font_

Holder QFontEngine::font_
mutable

Definition at line 311 of file qfontengine_p.h.

◆ fontDef

QFontDef QFontEngine::fontDef

Definition at line 276 of file qfontengine_p.h.

Referenced by QCoreTextFontEngine::QCoreTextFontEngine(), QCoreTextFontEngine::QCoreTextFontEngine(), QFontEngineFT::QFontEngineFT(), QFontEngineMulti::QFontEngineMulti(), QWindowsFontEngine::QWindowsFontEngine(), QWindowsFontEngineDirectWrite::QWindowsFontEngineDirectWrite(), QWindowsFontEngine::addGlyphsToPath(), QWindowsFontEngineDirectWrite::addGlyphsToPath(), QCoreTextFontEngine::addGlyphsToPath(), QCoreTextFontEngine::alphaMapBoundingBox(), QCoreTextRawFontEngine::cloneWithSize(), QCoreTextFontEngine::cloneWithSize(), QFontEngineFT::cloneWithSize(), QWindowsFontEngine::cloneWithSize(), QWindowsFontEngineDirectWrite::cloneWithSize(), QFontEngineFT::create(), QFontEngineFT::create(), QWindowsFontEngineDirectWrite::createHFONT(), QCoreTextFontEngine::draw(), QPaintEngineEx::drawStaticTextItem(), QFontEngineMulti::ensureEngineAt(), QFontEngineMulti::ensureFallbackFamiliesQueried(), QRawFont::familyName(), QWindowsFontDatabase::fontEngine(), QWindowsFontDatabaseBase::fontEngine(), QWindowsFontEngine::getCMap(), QCoreTextFontEngine::imageForGlyph(), QCoreTextFontEngine::init(), QFontEngineFT::init(), QWindowsFontEngine::initFontInfo(), QWindowsFontEngineDirectWrite::initFontInfo(), lineThickness(), QCoreTextFontEngine::loadAdvancesForGlyphs(), QFontEngineMulti::loadEngine(), QFontEngineFT::loadGlyphSet(), minRightBearing(), QRawFont::pixelSize(), processHheaTable(), processOS2Table(), properties(), QFontEngineFT::properties(), QWindowsFontEngineDirectWrite::recalcAdvances(), QFontEngineMulti::setFallbackFamiliesList(), QRawFont::setPixelSize(), QCoreTextFontEngine::shouldAntialias(), QPaintEngineEx::shouldDrawCachedGlyphs(), QCoreTextFontEngine::shouldSmoothFont(), QFontEngineMulti::stringToCMap(), QRawFont::style(), QRawFont::styleName(), QWindowsFontEngineDirectWrite::supportsHorizontalSubPixelPositions(), QFontEngineFT::synthesized(), QWindowsFontEngine::synthesized(), QFontSubset::toTruetype(), QWindowsFontDatabaseBase::EmbeddedFont::updateFromOS2Table(), and QRawFont::weight().

◆ fsType

uint QFontEngine::fsType

◆ glyphFormat

◆ isSmoothlyScalable

bool QFontEngine::isSmoothlyScalable

Definition at line 322 of file qfontengine_p.h.

Referenced by QFontEngine().

◆ kerning_pairs

QList<KernPair> QFontEngine::kerning_pairs

Definition at line 332 of file qfontengine_p.h.

Referenced by doKerning(), and loadKerningPairs().

◆ m_ascent

◆ m_descent

◆ m_heightMetricsQueried

bool QFontEngine::m_heightMetricsQueried
mutableprotected

◆ m_leading

◆ m_subPixelPositionCount

int QFontEngine::m_subPixelPositionCount

◆ ref

◆ symbol


The documentation for this class was generated from the following files: