QtBase  v6.3.1
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Friends | List of all members
QFontEngineFT Class Reference

#include <qfontengine_ft_p.h>

Inheritance diagram for QFontEngineFT:
Inheritance graph
[legend]
Collaboration diagram for QFontEngineFT:
Collaboration graph
[legend]

Classes

struct  GlyphAndSubPixelPosition
 
struct  GlyphInfo
 
struct  QGlyphSet
 

Public Types

enum  Scaling { Scaled , Unscaled }
 
- Public Types inherited from QFontEngine
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
}
 

Public Member Functions

QFontEngine::FaceId faceId () const override
 
QFontEngine::Properties properties () const override
 
QFixed emSquareSize () const override
 
bool supportsHorizontalSubPixelPositions () const override
 
bool supportsVerticalSubPixelPositions () const override
 
bool getSfntTableData (uint tag, uchar *buffer, uint *length) const override
 
int synthesized () const override
 
void initializeHeightMetrics () const override
 
QFixed capHeight () const override
 
QFixed xHeight () const override
 
QFixed averageCharWidth () const override
 
qreal maxCharWidth () const override
 
QFixed lineThickness () const override
 
QFixed underlinePosition () const override
 
glyph_t glyphIndex (uint ucs4) const override
 
void doKerning (QGlyphLayout *, ShaperFlags) const override
 
void getUnscaledGlyph (glyph_t glyph, QPainterPath *path, glyph_metrics_t *metrics) override
 
bool supportsTransformation (const QTransform &transform) const override
 
void addGlyphsToPath (glyph_t *glyphs, QFixedPoint *positions, int nglyphs, QPainterPath *path, QTextItem::RenderFlags flags) override
 
void addOutlineToPath (qreal x, qreal y, const QGlyphLayout &glyphs, QPainterPath *path, QTextItem::RenderFlags flags) override
 
bool stringToCMap (const QChar *str, int len, QGlyphLayout *glyphs, int *nglyphs, ShaperFlags flags) const override
 
glyph_metrics_t boundingBox (const QGlyphLayout &glyphs) override
 
glyph_metrics_t boundingBox (glyph_t glyph) override
 
glyph_metrics_t boundingBox (glyph_t glyph, const QTransform &matrix) override
 
void recalcAdvances (QGlyphLayout *glyphs, ShaperFlags flags) const override
 
QImage alphaMapForGlyph (glyph_t g) override
 
QImage alphaMapForGlyph (glyph_t, const QFixedPoint &) override
 
QImage alphaMapForGlyph (glyph_t glyph, const QFixedPoint &subPixelPosition, const QTransform &t) override
 
QImage alphaRGBMapForGlyph (glyph_t, const QFixedPoint &subPixelPosition, const QTransform &t) override
 
QImage bitmapForGlyph (glyph_t, const QFixedPoint &subPixelPosition, const QTransform &t, const QColor &color) override
 
glyph_metrics_t alphaMapBoundingBox (glyph_t glyph, const QFixedPoint &subPixelPosition, const QTransform &matrix, QFontEngine::GlyphFormat format) override
 
GlyphglyphData (glyph_t glyph, const QFixedPoint &subPixelPosition, GlyphFormat neededFormat, const QTransform &t) override
 
bool hasInternalCaching () const override
 
bool expectsGammaCorrectedBlending () const override
 
void removeGlyphFromCache (glyph_t glyph) override
 
int glyphMargin (QFontEngine::GlyphFormat) override
 
int glyphCount () const override
 
FT_Face lockFace (Scaling scale=Scaled) const
 
void unlockFace () const
 
FT_Face non_locked_face () const
 
bool drawAntialiased () const
 
bool invalid () const
 
bool isBitmapFont () const
 
bool isScalableBitmap () const
 
GlyphloadGlyph (uint glyph, const QFixedPoint &subPixelPosition, GlyphFormat format=Format_None, bool fetchMetricsOnly=false, bool disableOutlineDrawing=false) const
 
GlyphloadGlyph (QGlyphSet *set, uint glyph, const QFixedPoint &subPixelPosition, GlyphFormat=Format_None, bool fetchMetricsOnly=false, bool disableOutlineDrawing=false) const
 
GlyphloadGlyphFor (glyph_t g, const QFixedPoint &subPixelPosition, GlyphFormat format, const QTransform &t, bool fetchBoundingBox=false, bool disableOutlineDrawing=false)
 
QGlyphSetloadGlyphSet (const QTransform &matrix)
 
 QFontEngineFT (const QFontDef &fd)
 
virtual ~QFontEngineFT ()
 
bool init (FaceId faceId, bool antiaalias, GlyphFormat defaultFormat=Format_None, const QByteArray &fontData=QByteArray())
 
bool init (FaceId faceId, bool antialias, GlyphFormat format, QFreetypeFace *freetypeFace)
 
int getPointInOutline (glyph_t glyph, int flags, quint32 point, QFixed *xpos, QFixed *ypos, quint32 *nPoints) override
 
void setQtDefaultHintStyle (QFont::HintingPreference hintingPreference)
 
void setDefaultHintStyle (HintStyle style) override
 
QFontEnginecloneWithSize (qreal pixelSize) const override
 
Qt::HANDLE handle () const override
 
bool initFromFontEngine (const QFontEngineFT *fontEngine)
 
HintStyle defaultHintStyle () const
 
- Public Member Functions inherited from QFontEngine
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)
 
void addBitmapFontToPath (qreal x, qreal y, const QGlyphLayout &, QPainterPath *, QTextItem::RenderFlags)
 
virtual QImage alphaMapForGlyph (glyph_t, const QTransform &t)
 
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 bool canRender (const QChar *str, int len) const
 
voidharfbuzzFont () const
 
voidharfbuzzFace () const
 
bool supportsScript (QChar::Script script) const
 
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
 
void loadKerningPairs (QFixed scalingFactor)
 

Static Public Member Functions

static QFontEngineFTcreate (const QFontDef &fontDef, FaceId faceId, const QByteArray &fontData=QByteArray())
 
static QFontEngineFTcreate (const QByteArray &fontData, qreal pixelSize, QFont::HintingPreference hintingPreference)
 
- Static Public Member Functions inherited from QFontEngine
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)
 

Protected Attributes

QFreetypeFacefreetype
 
int default_load_flags
 
HintStyle default_hint_style
 
bool antialias
 
bool transform
 
bool embolden
 
bool obliquen
 
SubpixelAntialiasingType subpixelType
 
int lcdFilterType
 
bool embeddedbitmap
 
bool cacheEnabled
 
bool forceAutoHint
 
bool stemDarkeningDriver
 
- Protected Attributes inherited from QFontEngine
QFixed m_ascent
 
QFixed m_descent
 
QFixed m_leading
 
bool m_heightMetricsQueried
 

Friends

class QFontEngineFTRawFont
 
class QFontconfigDatabase
 
class QFreeTypeFontDatabase
 
class QFontEngineMultiFontConfig
 

Additional Inherited Members

- Public Attributes inherited from QFontEngine
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 inherited from QFontEngine
 QFontEngine (Type type)
 
QFixed lastRightBearing (const QGlyphLayout &glyphs)
 
QFixed calculatedCapHeight () const
 
bool processHheaTable () const
 
bool processOS2Table () const
 

Detailed Description

Definition at line 132 of file qfontengine_ft_p.h.

Member Enumeration Documentation

◆ Scaling

Enumerator
Scaled 
Unscaled 

Definition at line 250 of file qfontengine_ft_p.h.

Constructor & Destructor Documentation

◆ QFontEngineFT()

QFontEngineFT::QFontEngineFT ( const QFontDef fd)

Definition at line 742 of file qfontengine_ft.cpp.

Here is the caller graph for this function:

◆ ~QFontEngineFT()

QFontEngineFT::~QFontEngineFT ( )
virtual

Definition at line 770 of file qfontengine_ft.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ addGlyphsToPath()

void QFontEngineFT::addGlyphsToPath ( glyph_t glyphs,
QFixedPoint positions,
int  nglyphs,
QPainterPath path,
QTextItem::RenderFlags  flags 
)
overridevirtual

Reimplemented from QFontEngine.

Definition at line 1545 of file qfontengine_ft.cpp.

◆ addOutlineToPath()

void QFontEngineFT::addOutlineToPath ( qreal  x,
qreal  y,
const QGlyphLayout glyphs,
QPainterPath path,
QTextItem::RenderFlags  flags 
)
overridevirtual

Reimplemented from QFontEngine.

Definition at line 1521 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ alphaMapBoundingBox()

glyph_metrics_t QFontEngineFT::alphaMapBoundingBox ( glyph_t  glyph,
const QFixedPoint subPixelPosition,
const QTransform matrix,
QFontEngine::GlyphFormat  format 
)
overridevirtual

Reimplemented from QFontEngine.

Definition at line 1857 of file qfontengine_ft.cpp.

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

◆ alphaMapForGlyph() [1/3]

QImage QFontEngineFT::alphaMapForGlyph ( glyph_t  glyph)
inlineoverridevirtual

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 229 of file qfontengine_ft_p.h.

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

◆ alphaMapForGlyph() [2/3]

QImage QFontEngineFT::alphaMapForGlyph ( glyph_t  glyph,
const QFixedPoint subPixelPosition,
const QTransform t 
)
overridevirtual

Reimplemented from QFontEngine.

Definition at line 1987 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ alphaMapForGlyph() [3/3]

QImage QFontEngineFT::alphaMapForGlyph ( glyph_t  g,
const QFixedPoint subPixelPosition 
)
overridevirtual

Reimplemented from QFontEngine.

Definition at line 1982 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ alphaRGBMapForGlyph()

QImage QFontEngineFT::alphaRGBMapForGlyph ( glyph_t  g,
const QFixedPoint subPixelPosition,
const QTransform t 
)
overridevirtual

Reimplemented from QFontEngine.

Definition at line 2004 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ averageCharWidth()

QFixed QFontEngineFT::averageCharWidth ( ) const
overridevirtual

Reimplemented from QFontEngine.

Definition at line 1362 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ bitmapForGlyph()

QImage QFontEngineFT::bitmapForGlyph ( glyph_t  g,
const QFixedPoint subPixelPosition,
const QTransform t,
const QColor color 
)
overridevirtual

Reimplemented from QFontEngine.

Definition at line 2027 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ boundingBox() [1/3]

glyph_metrics_t QFontEngineFT::boundingBox ( const QGlyphLayout glyphs)
overridevirtual

Implements QFontEngine.

Definition at line 1746 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ boundingBox() [2/3]

glyph_metrics_t QFontEngineFT::boundingBox ( glyph_t  glyph)
overridevirtual

Implements QFontEngine.

Definition at line 1811 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ boundingBox() [3/3]

glyph_metrics_t QFontEngineFT::boundingBox ( glyph_t  glyph,
const QTransform matrix 
)
overridevirtual

Reimplemented from QFontEngine.

Definition at line 1852 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ capHeight()

QFixed QFontEngineFT::capHeight ( ) const
overridevirtual

Implements QFontEngine.

Definition at line 1337 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ cloneWithSize()

QFontEngine * QFontEngineFT::cloneWithSize ( qreal  pixelSize) const
overridevirtual

Reimplemented from QFontEngine.

Definition at line 2201 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ create() [1/2]

QFontEngineFT * QFontEngineFT::create ( const QByteArray fontData,
qreal  pixelSize,
QFont::HintingPreference  hintingPreference 
)
static

Definition at line 723 of file qfontengine_ft.cpp.

◆ create() [2/2]

QFontEngineFT * QFontEngineFT::create ( const QFontDef fontDef,
FaceId  faceId,
const QByteArray fontData = QByteArray() 
)
static

Definition at line 665 of file qfontengine_ft.cpp.

Here is the caller graph for this function:

◆ defaultHintStyle()

HintStyle QFontEngineFT::defaultHintStyle ( ) const
inline

Definition at line 302 of file qfontengine_ft_p.h.

◆ doKerning()

void QFontEngineFT::doKerning ( QGlyphLayout ,
ShaperFlags   
) const
overridevirtual

Reimplemented from QFontEngine.

Definition at line 1393 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ drawAntialiased()

bool QFontEngineFT::drawAntialiased ( ) const
inline

Definition at line 259 of file qfontengine_ft_p.h.

◆ emSquareSize()

QFixed QFontEngineFT::emSquareSize ( ) const
overridevirtual

Reimplemented from QFontEngine.

Definition at line 1297 of file qfontengine_ft.cpp.

Here is the caller graph for this function:

◆ expectsGammaCorrectedBlending()

bool QFontEngineFT::expectsGammaCorrectedBlending ( ) const
overridevirtual

Reimplemented from QFontEngine.

Definition at line 936 of file qfontengine_ft.cpp.

◆ faceId()

QFontEngine::FaceId QFontEngineFT::faceId ( ) const
overridevirtual

Reimplemented from QFontEngine.

Definition at line 1282 of file qfontengine_ft.cpp.

Here is the caller graph for this function:

◆ getPointInOutline()

int QFontEngineFT::getPointInOutline ( glyph_t  glyph,
int  flags,
quint32  point,
QFixed xpos,
QFixed ypos,
quint32 nPoints 
)
overridevirtual

Reimplemented from QFontEngine.

Definition at line 2168 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ getSfntTableData()

bool QFontEngineFT::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 1305 of file qfontengine_ft.cpp.

◆ getUnscaledGlyph()

void QFontEngineFT::getUnscaledGlyph ( glyph_t  glyph,
QPainterPath path,
glyph_metrics_t metrics 
)
overridevirtual

Reimplemented from QFontEngine.

Definition at line 1486 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ glyphCount()

int QFontEngineFT::glyphCount ( ) const
overridevirtual

Reimplemented from QFontEngine.

Definition at line 2062 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ glyphData()

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

Reimplemented from QFontEngine.

Definition at line 1926 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ glyphIndex()

glyph_t QFontEngineFT::glyphIndex ( uint  ucs4) const
overridevirtual

Implements QFontEngine.

Definition at line 1567 of file qfontengine_ft.cpp.

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

◆ glyphMargin()

int QFontEngineFT::glyphMargin ( QFontEngine::GlyphFormat  )
inlineoverridevirtual

Reimplemented from QFontEngine.

Definition at line 246 of file qfontengine_ft_p.h.

◆ handle()

Qt::HANDLE QFontEngineFT::handle ( ) const
overridevirtual

Reimplemented from QFontEngine.

Definition at line 2214 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ hasInternalCaching()

bool QFontEngineFT::hasInternalCaching ( ) const
inlineoverridevirtual

Reimplemented from QFontEngine.

Definition at line 242 of file qfontengine_ft_p.h.

◆ init() [1/2]

bool QFontEngineFT::init ( FaceId  faceId,
bool  antiaalias,
GlyphFormat  defaultFormat = Format_None,
const QByteArray fontData = QByteArray() 
)

Definition at line 776 of file qfontengine_ft.cpp.

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

◆ init() [2/2]

bool QFontEngineFT::init ( FaceId  faceId,
bool  antialias,
GlyphFormat  format,
QFreetypeFace freetypeFace 
)

Definition at line 784 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ initFromFontEngine()

bool QFontEngineFT::initFromFontEngine ( const QFontEngineFT fontEngine)

Definition at line 2179 of file qfontengine_ft.cpp.

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

◆ initializeHeightMetrics()

void QFontEngineFT::initializeHeightMetrics ( ) const
overridevirtual

Reimplemented from QFontEngine.

Definition at line 1322 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ invalid()

bool QFontEngineFT::invalid ( ) const
inline

Definition at line 260 of file qfontengine_ft_p.h.

Here is the caller graph for this function:

◆ isBitmapFont()

bool QFontEngineFT::isBitmapFont ( ) const
inline

Definition at line 261 of file qfontengine_ft_p.h.

Here is the caller graph for this function:

◆ isScalableBitmap()

bool QFontEngineFT::isScalableBitmap ( ) const
inline

Definition at line 262 of file qfontengine_ft_p.h.

Here is the caller graph for this function:

◆ lineThickness()

QFixed QFontEngineFT::lineThickness ( ) const
overridevirtual

Reimplemented from QFontEngine.

Definition at line 1383 of file qfontengine_ft.cpp.

◆ loadGlyph() [1/2]

QFontEngineFT::Glyph * QFontEngineFT::loadGlyph ( QGlyphSet set,
uint  glyph,
const QFixedPoint subPixelPosition,
GlyphFormat  format = Format_None,
bool  fetchMetricsOnly = false,
bool  disableOutlineDrawing = false 
) const

Definition at line 1018 of file qfontengine_ft.cpp.

◆ loadGlyph() [2/2]

Glyph* QFontEngineFT::loadGlyph ( uint  glyph,
const QFixedPoint subPixelPosition,
GlyphFormat  format = Format_None,
bool  fetchMetricsOnly = false,
bool  disableOutlineDrawing = false 
) const
inline

Definition at line 264 of file qfontengine_ft_p.h.

Here is the caller graph for this function:

◆ loadGlyphFor()

QFontEngineFT::Glyph * QFontEngineFT::loadGlyphFor ( glyph_t  g,
const QFixedPoint subPixelPosition,
GlyphFormat  format,
const QTransform t,
bool  fetchBoundingBox = false,
bool  disableOutlineDrawing = false 
)

Definition at line 1953 of file qfontengine_ft.cpp.

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

◆ loadGlyphSet()

QFontEngineFT::QGlyphSet * QFontEngineFT::loadGlyphSet ( const QTransform matrix)

Definition at line 1474 of file qfontengine_ft.cpp.

Here is the caller graph for this function:

◆ lockFace()

FT_Face QFontEngineFT::lockFace ( Scaling  scale = Scaled) const

Definition at line 2073 of file qfontengine_ft.cpp.

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

◆ maxCharWidth()

qreal QFontEngineFT::maxCharWidth ( ) const
overridevirtual

Implements QFontEngine.

Definition at line 1375 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ non_locked_face()

FT_Face QFontEngineFT::non_locked_face ( ) const

Definition at line 2103 of file qfontengine_ft.cpp.

Here is the caller graph for this function:

◆ properties()

QFontEngine::Properties QFontEngineFT::properties ( ) const
overridevirtual

Reimplemented from QFontEngine.

Definition at line 1287 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ recalcAdvances()

void QFontEngineFT::recalcAdvances ( QGlyphLayout glyphs,
ShaperFlags  flags 
) const
overridevirtual

Reimplemented from QFontEngine.

Definition at line 1712 of file qfontengine_ft.cpp.

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

◆ removeGlyphFromCache()

void QFontEngineFT::removeGlyphFromCache ( glyph_t  glyph)
overridevirtual

Reimplemented from QFontEngine.

Definition at line 2057 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ setDefaultHintStyle()

void QFontEngineFT::setDefaultHintStyle ( HintStyle  style)
overridevirtual

Reimplemented from QFontEngine.

Definition at line 931 of file qfontengine_ft.cpp.

Here is the caller graph for this function:

◆ setQtDefaultHintStyle()

void QFontEngineFT::setQtDefaultHintStyle ( QFont::HintingPreference  hintingPreference)

Definition at line 913 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ stringToCMap()

bool QFontEngineFT::stringToCMap ( const QChar str,
int  len,
QGlyphLayout glyphs,
int *  nglyphs,
ShaperFlags  flags 
) const
overridevirtual

Implements QFontEngine.

Definition at line 1599 of file qfontengine_ft.cpp.

Here is the call graph for this function:

◆ supportsHorizontalSubPixelPositions()

bool QFontEngineFT::supportsHorizontalSubPixelPositions ( ) const
inlineoverridevirtual

Reimplemented from QFontEngine.

Definition at line 187 of file qfontengine_ft_p.h.

◆ supportsTransformation()

bool QFontEngineFT::supportsTransformation ( const QTransform transform) const
overridevirtual

Reimplemented from QFontEngine.

Definition at line 1516 of file qfontengine_ft.cpp.

◆ supportsVerticalSubPixelPositions()

bool QFontEngineFT::supportsVerticalSubPixelPositions ( ) const
inlineoverridevirtual

Reimplemented from QFontEngine.

Definition at line 193 of file qfontengine_ft_p.h.

◆ synthesized()

int QFontEngineFT::synthesized ( ) const
overridevirtual

Reimplemented from QFontEngine.

Definition at line 1310 of file qfontengine_ft.cpp.

◆ underlinePosition()

QFixed QFontEngineFT::underlinePosition ( ) const
overridevirtual

Reimplemented from QFontEngine.

Definition at line 1388 of file qfontengine_ft.cpp.

◆ unlockFace()

void QFontEngineFT::unlockFace ( ) const

Definition at line 2098 of file qfontengine_ft.cpp.

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

◆ xHeight()

QFixed QFontEngineFT::xHeight ( ) const
overridevirtual

Reimplemented from QFontEngine.

Definition at line 1349 of file qfontengine_ft.cpp.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ QFontconfigDatabase

friend class QFontconfigDatabase
friend

Definition at line 325 of file qfontengine_ft_p.h.

◆ QFontEngineFTRawFont

friend class QFontEngineFTRawFont
friend

Definition at line 324 of file qfontengine_ft_p.h.

◆ QFontEngineMultiFontConfig

friend class QFontEngineMultiFontConfig
friend

Definition at line 327 of file qfontengine_ft_p.h.

◆ QFreeTypeFontDatabase

friend class QFreeTypeFontDatabase
friend

Definition at line 326 of file qfontengine_ft_p.h.

Member Data Documentation

◆ antialias

bool QFontEngineFT::antialias
protected

Definition at line 312 of file qfontengine_ft_p.h.

◆ cacheEnabled

bool QFontEngineFT::cacheEnabled
protected

Definition at line 319 of file qfontengine_ft_p.h.

◆ default_hint_style

HintStyle QFontEngineFT::default_hint_style
protected

Definition at line 311 of file qfontengine_ft_p.h.

◆ default_load_flags

int QFontEngineFT::default_load_flags
mutableprotected

Definition at line 310 of file qfontengine_ft_p.h.

◆ embeddedbitmap

bool QFontEngineFT::embeddedbitmap
protected

Definition at line 318 of file qfontengine_ft_p.h.

◆ embolden

bool QFontEngineFT::embolden
protected

Definition at line 314 of file qfontengine_ft_p.h.

◆ forceAutoHint

bool QFontEngineFT::forceAutoHint
protected

Definition at line 320 of file qfontengine_ft_p.h.

◆ freetype

QFreetypeFace* QFontEngineFT::freetype
protected

Definition at line 309 of file qfontengine_ft_p.h.

◆ lcdFilterType

int QFontEngineFT::lcdFilterType
protected

Definition at line 317 of file qfontengine_ft_p.h.

◆ obliquen

bool QFontEngineFT::obliquen
protected

Definition at line 315 of file qfontengine_ft_p.h.

◆ stemDarkeningDriver

bool QFontEngineFT::stemDarkeningDriver
protected

Definition at line 321 of file qfontengine_ft_p.h.

◆ subpixelType

SubpixelAntialiasingType QFontEngineFT::subpixelType
protected

Definition at line 316 of file qfontengine_ft_p.h.

◆ transform

bool QFontEngineFT::transform
protected

Definition at line 313 of file qfontengine_ft_p.h.


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