![]() |
Qt 6.x
The Qt SDK
|
#include <qfontengine_ft_p.h>
Inheritance diagram for QFontEngineFT:
Collaboration diagram for QFontEngineFT: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 } |
Static Public Member Functions | |
| static QFontEngineFT * | create (const QFontDef &fontDef, FaceId faceId, const QByteArray &fontData=QByteArray()) |
| static QFontEngineFT * | create (const QByteArray &fontData, qreal pixelSize, QFont::HintingPreference hintingPreference) |
Static Public Member Functions inherited from QFontEngine | |
| 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) |
Protected Attributes | |
| QFreetypeFace * | freetype |
| 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< KernPair > | kerning_pairs |
| GlyphFormat | glyphFormat |
| int | m_subPixelPositionCount |
Protected Member Functions inherited from QFontEngine | |
| 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 |
Definition at line 96 of file qfontengine_ft_p.h.
| Enumerator | |
|---|---|
| Scaled | |
| Unscaled | |
Definition at line 214 of file qfontengine_ft_p.h.
| QFontEngineFT::QFontEngineFT | ( | const QFontDef & | fd | ) |
Definition at line 708 of file qfontengine_ft.cpp.
References antialias, QFontEngine::cache_cost, cacheEnabled, default_hint_style, default_load_flags, embeddedbitmap, embolden, QFontEngine::fontDef, forceAutoHint, QFontEngine::Format_None, freetype, ftInitialDefaultHintStyle, QByteArray::isEmpty(), lcdFilterType, QFontEngine::m_subPixelPositionCount, obliquen, qgetenv(), stemDarkeningDriver, QFontEngine::Subpixel_None, subpixelType, and QByteArray::toInt().
Here is the call graph for this function:
|
virtual |
Definition at line 736 of file qfontengine_ft.cpp.
References freetype, and QFreetypeFace::release().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1510 of file qfontengine_ft.cpp.
References QFreetypeFace::addGlyphToPath(), embolden, lockFace(), obliquen, positions, unlockFace(), and Unscaled.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1486 of file qfontengine_ft.cpp.
References QFreetypeFace::addBitmapToPath(), QFontEngine::addOutlineToPath(), QFreetypeFace::face, freetype, QFontEngine::getGlyphPositions(), lockFace(), QGlyphLayout::numGlyphs, positions, QTransform::translate(), unlockFace(), and Unscaled.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1822 of file qfontengine_ft.cpp.
References cacheEnabled, CEIL, emptyGlyph, QFreetypeFace::face, FLOOR, QFontEngine::Format_A8, QFontEngine::Format_Mono, freetype, glyph_metrics_t::height, isScalableBitmap(), loadGlyphFor(), lockFace(), ROUND, TRUNC, QTransform::TxTranslate, unlockFace(), glyph_metrics_t::width, glyph_metrics_t::x, glyph_metrics_t::xoff, and glyph_metrics_t::y.
Referenced by boundingBox().
Here is the call graph for this function:
Here is the caller graph for this function: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 193 of file qfontengine_ft_p.h.
References alphaMapForGlyph().
Referenced by alphaMapForGlyph(), and alphaMapForGlyph().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1957 of file qfontengine_ft.cpp.
References alphaMapFromGlyphData(), antialias, cacheEnabled, emptyGlyph, QFreetypeFace::face, QFontEngine::Format_A8, QFontEngine::Format_Mono, freetype, loadGlyphFor(), Qt::SmoothTransformation, and QTransform::TxTranslate.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1952 of file qfontengine_ft.cpp.
References alphaMapForGlyph().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1979 of file qfontengine_ft.cpp.
References alphaMapFromGlyphData(), QFontEngine::alphaRGBMapForGlyph(), cacheEnabled, emptyGlyph, QFontEngine::Format_A32, loadGlyphFor(), and QTransform::TxRotate.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1327 of file qfontengine_ft.cpp.
References QFontEngine::averageCharWidth(), emSquareSize(), QFreetypeFace::face, freetype, lockFace(), and unlockFace().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2002 of file qfontengine_ft.cpp.
References cacheEnabled, QImage::copy(), QFontEngine::Glyph::data, emptyGlyph, QFontEngine::Format_ARGB, QImage::Format_ARGB32_Premultiplied, QImage::Format_Mono, QFontEngine::Format_Mono, QFontEngine::Glyph::height, loadGlyphFor(), Q_UNUSED, QTransform::scale(), Qt::SmoothTransformation, QFixed::toReal(), and QFontEngine::Glyph::width.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1711 of file qfontengine_ft.cpp.
References QGlyphLayout::advances, QFontEngine::ascent(), QGlyphLayout::attributes, cacheEnabled, QFixed::ceil(), CEIL, QFontEngine::descent(), QGlyphAttributes::dontPrint, QGlyphLayout::effectiveAdvance(), emptyGlyph, FLOOR, QFontEngine::Format_None, QFixed::fromFixed(), QFontEngineFT::QGlyphSet::getGlyph(), QGlyphLayout::glyphs, glyph_metrics_t::height, i, isScalableBitmap(), loadGlyph(), lockFace(), QGlyphLayout::numGlyphs, QGlyphLayout::offsets, qMax(), qMin(), TRUNC, unlockFace(), glyph_metrics_t::width, QFixedPoint::x, glyph_metrics_t::x, glyph_metrics_t::xoff, QFixedPoint::y, glyph_metrics_t::y, and glyph_metrics_t::yoff.
Here is the call graph for this function:
|
overridevirtual |
Implements QFontEngine.
Definition at line 1776 of file qfontengine_ft.cpp.
References cacheEnabled, CEIL, emptyGlyph, FLOOR, QFontEngine::Format_None, QFontEngineFT::QGlyphSet::getGlyph(), glyph_metrics_t::height, isScalableBitmap(), loadGlyph(), lockFace(), ROUND, TRUNC, unlockFace(), glyph_metrics_t::width, glyph_metrics_t::x, glyph_metrics_t::xoff, and glyph_metrics_t::y.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1817 of file qfontengine_ft.cpp.
References alphaMapBoundingBox(), and QFontEngine::Format_None.
Here is the call graph for this function:
|
overridevirtual |
Implements QFontEngine.
Definition at line 1302 of file qfontengine_ft.cpp.
References QFontEngine::calculatedCapHeight(), QFreetypeFace::face, freetype, QFixed::fromFixed(), lockFace(), and unlockFace().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2176 of file qfontengine_ft.cpp.
References QFontEngine::fontDef, initFromFontEngine(), and QFontDef::pixelSize.
Here is the call graph for this function:
|
static |
Definition at line 689 of file qfontengine_ft.cpp.
References QFontEngine::fontDef, QFontDef::hintingPreference, QFontDef::pixelSize, QFontDef::stretch, and QFont::Unstretched.
|
static |
Definition at line 631 of file qfontengine_ft.cpp.
References antialias, engine, faceId(), QFontEngine::fontDef, QFontEngine::Format_A32, QFontEngine::Format_A8, QFontEngine::Format_Mono, QFontDef::hintingPreference, QFont::NoAntialias, QFont::NoSubpixelAntialias, qWarning, QFontDef::styleStrategy, QFontEngine::Subpixel_None, subpixelAntialiasingTypeHint(), and subpixelType.
Referenced by QFreeTypeFontDatabase::fontEngine(), QFreeTypeFontDatabase::fontEngine(), and QCoreTextFontDatabaseEngineFactory< T >::fontEngine().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 266 of file qfontengine_ft_p.h.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1358 of file qfontengine_ft.cpp.
References QFontEngine::DesignMetrics, QFontEngine::doKerning(), emSquareSize(), QFreetypeFace::face, freetype, QFontEngine::loadKerningPairs(), lockFace(), and unlockFace().
Here is the call graph for this function:
|
inline |
Definition at line 223 of file qfontengine_ft_p.h.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1262 of file qfontengine_ft.cpp.
References QFreetypeFace::face, and freetype.
Referenced by averageCharWidth(), doKerning(), and xHeight().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 901 of file qfontengine_ft.cpp.
References stemDarkeningDriver.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1247 of file qfontengine_ft.cpp.
Referenced by create(), init(), init(), and initFromFontEngine().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2143 of file qfontengine_ft.cpp.
References QFontEngine::Format_A8, freetype, QFreetypeFace::getPointInOutline(), lockFace(), and unlockFace().
Here is the call graph for this function:
|
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 1270 of file qfontengine_ft.cpp.
References QFreetypeFace::face, freetype, ft_getSfntTable(), and tag.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1451 of file qfontengine_ft.cpp.
References QFreetypeFace::addBitmapToPath(), QFreetypeFace::addGlyphToPath(), QFreetypeFace::face, freetype, QFixed::fromFixed(), lockFace(), QFreetypeFace::matrix, unlockFace(), and Unscaled.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2037 of file qfontengine_ft.cpp.
References lockFace(), and unlockFace().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1896 of file qfontengine_ft.cpp.
References cacheEnabled, QFontEngine::Format_A8, QFontEngine::Format_Mono, QFontEngine::Format_None, glyphIndex(), QFontEngine::Glyph::height, isBitmapFont(), loadGlyphFor(), Q_ASSERT, and QFontEngine::Glyph::width.
Here is the call graph for this function:Implements QFontEngine.
Definition at line 1532 of file qfontengine_ft.cpp.
References QFreetypeFace::cmapCache, QFreetypeFace::cmapCacheSize, QFreetypeFace::face, freetype, QChar::Nbsp, QChar::Space, QFontEngine::symbol, QFreetypeFace::symbol_map, QChar::Tabulation, and QFreetypeFace::unicode_map.
Referenced by glyphData().
Here is the caller graph for this function:
|
inlineoverridevirtual |
Reimplemented from QFontEngine.
Definition at line 210 of file qfontengine_ft_p.h.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 2189 of file qfontengine_ft.cpp.
References non_locked_face().
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from QFontEngine.
Definition at line 206 of file qfontengine_ft_p.h.
| bool QFontEngineFT::init | ( | FaceId | faceId, |
| bool | antiaalias, | ||
| GlyphFormat | defaultFormat = Format_None, |
||
| const QByteArray & | fontData = QByteArray() |
||
| ) |
Definition at line 742 of file qfontengine_ft.cpp.
References antialias, faceId(), QFreetypeFace::getFace(), and init().
Referenced by init(), and initFromFontEngine().
Here is the call graph for this function:
Here is the caller graph for this function:| bool QFontEngineFT::init | ( | FaceId | faceId, |
| bool | antialias, | ||
| GlyphFormat | format, | ||
| QFreetypeFace * | freetypeFace | ||
| ) |
Definition at line 750 of file qfontengine_ft.cpp.
References antialias, QFont::Bold, cacheEnabled, Qt::CaseInsensitive, QFreetypeFace::computeSize(), dont_delete(), embolden, QFreetypeFace::face, QFontEngine::face_, QFontEngine::faceData, faceId(), QFontDef::families, fmt, QFontEngine::fontDef, QFontEngine::Format_ARGB, QFontEngine::Format_Mono, freetype, QFixed::fromFixed(), QString::fromUtf8(), QFreetypeFace::fsType(), QFontEngine::fsType, ft_getSfntTable(), QFontEngine::Holder::get(), QFontEngine::FaceData::get_font_table, QFontEngine::glyphFormat, QFontEngine::harfbuzzFace(), i, isScalableBitmap(), QFontEngine::leading(), lockFace(), QFreetypeFace::matrix, obliquen, QFontEngineFT::QGlyphSet::outline_drawing, QFontDef::pixelSize, Q_ASSERT, qEnvironmentVariableIsSet(), qstrncmp(), qt_getFreetype(), stemDarkeningDriver, QFontDef::style, QFontDef::styleName, QFont::StyleNormal, QFontEngine::symbol, QFreetypeFace::symbol_map, unlockFace(), QFontEngine::FaceData::user_data, void, and QFontDef::weight.
Here is the call graph for this function:| bool QFontEngineFT::initFromFontEngine | ( | const QFontEngineFT * | fontEngine | ) |
Definition at line 2154 of file qfontengine_ft.cpp.
References antialias, default_hint_style, default_load_flags, embeddedbitmap, embolden, faceId(), freetype, init(), lcdFilterType, obliquen, QBasicAtomicInteger< T >::ref(), subpixelType, and transform.
Referenced by cloneWithSize().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1287 of file qfontengine_ft.cpp.
References QFixed::fromFixed(), QFontEngine::initializeHeightMetrics(), QFontEngine::m_ascent, QFontEngine::m_descent, and QFontEngine::m_leading.
Here is the call graph for this function:
|
inline |
Definition at line 224 of file qfontengine_ft_p.h.
|
inline |
Definition at line 225 of file qfontengine_ft_p.h.
Referenced by glyphData().
Here is the caller graph for this function:
|
inline |
Definition at line 226 of file qfontengine_ft_p.h.
Referenced by alphaMapBoundingBox(), boundingBox(), boundingBox(), init(), and loadGlyph().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1348 of file qfontengine_ft.cpp.
| 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 983 of file qfontengine_ft.cpp.
References areMetricsTooLarge(), CEIL, convertRGBToARGB(), convertRGBToARGB_V(), QFontEngine::Glyph::data, default_hint_style, default_load_flags, embolden, emptyGlyph, QFreetypeFace::face, FLOOR, QFontEngine::Format_A32, QFontEngine::Format_A8, QFontEngine::Format_ARGB, QFontEngine::Format_Mono, QFontEngine::Format_None, freetype, QFontEngine::HintLight, info, isScalableBitmap(), lcdFilterType, QFreetypeFace::matrix, obliquen, Q_ASSERT, qbswap(), qWarning, ROUND, set, QFontEngine::Subpixel_RGB, QFontEngine::Subpixel_VRGB, subpixelType, transformBoundingBox(), TRUNC, QFixed::value(), QFixedPoint::x, and QFixedPoint::y.
Here is the call graph for this function:
|
inline |
Definition at line 228 of file qfontengine_ft_p.h.
Referenced by boundingBox(), boundingBox(), loadGlyphFor(), and recalcAdvances().
Here is the caller graph for this function:| QFontEngineFT::Glyph * QFontEngineFT::loadGlyphFor | ( | glyph_t | g, |
| const QFixedPoint & | subPixelPosition, | ||
| GlyphFormat | format, | ||
| const QTransform & | t, | ||
| bool | fetchBoundingBox = false, |
||
| bool | disableOutlineDrawing = false |
||
| ) |
Definition at line 1923 of file qfontengine_ft.cpp.
References QFontEngine::Glyph::data, default_hint_style, QFontEngine::Glyph::format, freetype, QFontEngineFT::QGlyphSet::getGlyph(), QFontEngine::HintNone, is2dRotation(), loadGlyph(), loadGlyphSet(), lockFace(), QFreetypeFace::matrix, QFontEngineFT::QGlyphSet::outline_drawing, QTransformToFTMatrix(), QFontEngineFT::QGlyphSet::transformationMatrix, QTransform::TxScale, and unlockFace().
Referenced by alphaMapBoundingBox(), alphaMapForGlyph(), alphaRGBMapForGlyph(), bitmapForGlyph(), and glyphData().
Here is the call graph for this function:
Here is the caller graph for this function:| QFontEngineFT::QGlyphSet * QFontEngineFT::loadGlyphSet | ( | const QTransform & | matrix | ) |
Definition at line 1439 of file qfontengine_ft.cpp.
References cacheEnabled, QFreetypeFace::face, QFontEngine::fontDef, freetype, QTransform::TxShear, and QTransform::TxTranslate.
Referenced by loadGlyphFor().
Here is the caller graph for this function:Definition at line 2048 of file qfontengine_ft.cpp.
References QFreetypeFace::face, freetype, QFreetypeFace::lock(), QFreetypeFace::matrix, Unscaled, QFreetypeFace::xsize, and QFreetypeFace::ysize.
Referenced by addGlyphsToPath(), addOutlineToPath(), alphaMapBoundingBox(), averageCharWidth(), boundingBox(), boundingBox(), capHeight(), doKerning(), getPointInOutline(), getUnscaledGlyph(), glyphCount(), init(), loadGlyphFor(), recalcAdvances(), and xHeight().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements QFontEngine.
Definition at line 1340 of file qfontengine_ft.cpp.
References QFixed::fromFixed(), and QFixed::toReal().
Here is the call graph for this function:| FT_Face QFontEngineFT::non_locked_face | ( | ) | const |
Definition at line 2078 of file qfontengine_ft.cpp.
References QFreetypeFace::face, and freetype.
Referenced by handle().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1252 of file qfontengine_ft.cpp.
References QFontEngine::convertToPostscriptFontFamilyName(), QFontDef::families, QFontEngine::fontDef, freetype, QFontEngine::Properties::postscriptName, and QFreetypeFace::properties().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1677 of file qfontengine_ft.cpp.
References QGlyphLayout::advances, cacheEnabled, emptyGlyph, QFontEngine::Format_Mono, QFontEngine::Format_None, QFixed::fromFixed(), QFontEngineFT::QGlyphSet::getGlyph(), QGlyphLayout::glyphs, i, loadGlyph(), lockFace(), QGlyphLayout::numGlyphs, QFixed::round(), and unlockFace().
Referenced by stringToCMap().
Here is the call graph for this function:
Here is the caller graph for this function:Reimplemented from QFontEngine.
Definition at line 2032 of file qfontengine_ft.cpp.
References QFontEngineFT::QGlyphSet::removeGlyphFromCache().
Here is the call graph for this function:Reimplemented from QFontEngine.
Definition at line 896 of file qfontengine_ft.cpp.
References default_hint_style.
Referenced by setQtDefaultHintStyle().
Here is the caller graph for this function:| void QFontEngineFT::setQtDefaultHintStyle | ( | QFont::HintingPreference | hintingPreference | ) |
Definition at line 878 of file qfontengine_ft.cpp.
References ftInitialDefaultHintStyle, QFontEngine::HintFull, QFontEngine::HintLight, QFontEngine::HintNone, QFont::PreferDefaultHinting, QFont::PreferFullHinting, QFont::PreferNoHinting, QFont::PreferVerticalHinting, and setDefaultHintStyle().
Here is the call graph for this function:
|
overridevirtual |
Implements QFontEngine.
Definition at line 1564 of file qfontengine_ft.cpp.
References QFreetypeFace::cmapCache, QFreetypeFace::cmapCacheSize, QFreetypeFace::face, freetype, QFontEngine::GlyphIndicesOnly, QGlyphLayout::glyphs, it, QGlyphLayout::numGlyphs, Q_ASSERT, recalcAdvances(), str, QFontEngine::symbol, QFreetypeFace::symbol_map, and QFreetypeFace::unicode_map.
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from QFontEngine.
Definition at line 151 of file qfontengine_ft_p.h.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1481 of file qfontengine_ft.cpp.
References QTransform::TxRotate.
|
inlineoverridevirtual |
Reimplemented from QFontEngine.
Definition at line 157 of file qfontengine_ft_p.h.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1275 of file qfontengine_ft.cpp.
References QFont::Bold, QFreetypeFace::face, QFontEngine::fontDef, freetype, QFontDef::stretch, QFontDef::style, QFont::StyleNormal, QFontEngine::SynthesizedBold, QFontEngine::SynthesizedItalic, QFontEngine::SynthesizedStretch, and QFontDef::weight.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1353 of file qfontengine_ft.cpp.
| void QFontEngineFT::unlockFace | ( | ) | const |
Definition at line 2073 of file qfontengine_ft.cpp.
References freetype, and QFreetypeFace::unlock().
Referenced by addGlyphsToPath(), addOutlineToPath(), alphaMapBoundingBox(), averageCharWidth(), boundingBox(), boundingBox(), capHeight(), doKerning(), getPointInOutline(), getUnscaledGlyph(), glyphCount(), init(), loadGlyphFor(), recalcAdvances(), and xHeight().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1314 of file qfontengine_ft.cpp.
References emSquareSize(), QFreetypeFace::face, freetype, lockFace(), unlockFace(), and QFontEngine::xHeight().
Here is the call graph for this function:
|
friend |
Definition at line 289 of file qfontengine_ft_p.h.
|
friend |
Definition at line 288 of file qfontengine_ft_p.h.
|
friend |
Definition at line 291 of file qfontengine_ft_p.h.
|
friend |
Definition at line 290 of file qfontengine_ft_p.h.
|
protected |
Definition at line 276 of file qfontengine_ft_p.h.
Referenced by QFontEngineFT(), alphaMapForGlyph(), create(), init(), init(), and initFromFontEngine().
|
protected |
Definition at line 283 of file qfontengine_ft_p.h.
Referenced by QFontEngineFT(), alphaMapBoundingBox(), alphaMapForGlyph(), alphaRGBMapForGlyph(), bitmapForGlyph(), boundingBox(), boundingBox(), glyphData(), init(), loadGlyphSet(), and recalcAdvances().
|
protected |
Definition at line 275 of file qfontengine_ft_p.h.
Referenced by QFontEngineFT(), initFromFontEngine(), loadGlyph(), loadGlyphFor(), and setDefaultHintStyle().
|
mutableprotected |
Definition at line 274 of file qfontengine_ft_p.h.
Referenced by QFontEngineFT(), initFromFontEngine(), and loadGlyph().
|
protected |
Definition at line 282 of file qfontengine_ft_p.h.
Referenced by QFontEngineFT(), and initFromFontEngine().
|
protected |
Definition at line 278 of file qfontengine_ft_p.h.
Referenced by QFontEngineFT(), addGlyphsToPath(), init(), initFromFontEngine(), and loadGlyph().
|
protected |
Definition at line 284 of file qfontengine_ft_p.h.
Referenced by QFontEngineFT().
|
protected |
Definition at line 273 of file qfontengine_ft_p.h.
Referenced by QFontEngineFT(), ~QFontEngineFT(), addOutlineToPath(), alphaMapBoundingBox(), alphaMapForGlyph(), averageCharWidth(), capHeight(), doKerning(), emSquareSize(), getPointInOutline(), getSfntTableData(), getUnscaledGlyph(), glyphIndex(), init(), initFromFontEngine(), loadGlyph(), loadGlyphFor(), loadGlyphSet(), lockFace(), non_locked_face(), properties(), stringToCMap(), synthesized(), unlockFace(), and xHeight().
|
protected |
Definition at line 281 of file qfontengine_ft_p.h.
Referenced by QFontEngineFT(), initFromFontEngine(), and loadGlyph().
|
protected |
Definition at line 279 of file qfontengine_ft_p.h.
Referenced by QFontEngineFT(), addGlyphsToPath(), init(), initFromFontEngine(), and loadGlyph().
|
protected |
Definition at line 285 of file qfontengine_ft_p.h.
Referenced by QFontEngineFT(), expectsGammaCorrectedBlending(), and init().
|
protected |
Definition at line 280 of file qfontengine_ft_p.h.
Referenced by QFontEngineFT(), create(), initFromFontEngine(), and loadGlyph().
|
protected |
Definition at line 277 of file qfontengine_ft_p.h.
Referenced by initFromFontEngine().