Qt 4.8
|
#include <qfont_p.h>
Public Functions | |
bool | exactMatch (const QFontDef &other) const |
bool | operator< (const QFontDef &other) const |
bool | operator== (const QFontDef &other) const |
QFontDef () | |
Public Variables | |
QString | addStyle |
QString | family |
uint | fixedPitch: 1 |
uint | fixedPitchComputed: 1 |
uint | hintingPreference: 2 |
uint | ignorePitch: 1 |
qreal | pixelSize |
qreal | pointSize |
int | reserved: 14 |
uint | stretch: 12 |
uint | style: 2 |
uint | styleHint: 8 |
QString | styleName |
uint | styleStrategy: 16 |
uint | weight: 7 |
|
inline |
bool QFontDef::exactMatch | ( | const QFontDef & | other | ) | const |
Definition at line 102 of file qfont.cpp.
Referenced by QFontInfo::exactMatch(), and QFont::exactMatch().
|
inline |
Definition at line 123 of file qfont_p.h.
|
inline |
Definition at line 106 of file qfont_p.h.
QString QFontDef::addStyle |
Definition at line 86 of file qfont_p.h.
Referenced by exactMatch(), operator<(), QFont::operator<(), operator==(), qt_fillFontDef(), QFont::setFamily(), and QFont::setStyleHint().
QString QFontDef::family |
Definition at line 82 of file qfont_p.h.
Referenced by QFontEngineWin::cloneWithSize(), exactMatch(), QFontInfo::family(), QFont::family(), familyList(), QRawFont::familyName(), QFontDatabase::findFont(), QFontconfigDatabase::fontEngine(), QCoreTextFontDatabase::fontEngine(), initFontInfo(), QFontDatabase::load(), loadEngine(), loadFc(), loadFromDatabase(), loadRaw(), loadSingleEngine(), loadWin(), QFontDatabase::loadXlfd(), operator<(), QFont::operator<(), operator==(), QFontEngine::properties(), QFont::QFont(), QFontEngineQPF::QFontEngineQPF(), qt_FcPatternToQFontDef(), qt_fillFontDef(), registerFont(), QFontPrivate::resolve(), resolveGdi32(), QFont::setFamily(), QFontSubset::toTruetype(), QFontSubset::toType1(), and QFontEngineFTRawFont::updateFamilyNameAndStyle().
uint QFontDef::fixedPitch |
Definition at line 96 of file qfont_p.h.
Referenced by exactMatch(), findEncoding(), QFontInfo::fixedPitch(), QFont::fixedPitch(), QFont::fromString(), get_font_bits(), getFcPattern(), initFontInfo(), loadEngine(), operator<(), operator==(), qt_FcPatternToQFontDef(), qt_fillFontDef(), registerFont(), QFontPrivate::resolve(), set_font_bits(), QFont::setFixedPitch(), and styleHint().
uint QFontDef::fixedPitchComputed |
Definition at line 102 of file qfont_p.h.
Referenced by QFontInfo::fixedPitch().
uint QFontDef::hintingPreference |
Definition at line 101 of file qfont_p.h.
Referenced by QFont::hintingPreference(), loadEngine(), operator<(), operator==(), qt_FcPatternToQFontDef(), QFontPrivate::resolve(), resolveGdi32(), and QFont::setHintingPreference().
uint QFontDef::ignorePitch |
Definition at line 100 of file qfont_p.h.
Referenced by exactMatch(), findEncoding(), QFont::fromString(), get_extended_font_bits(), getFcPattern(), operator<(), operator==(), qt_FcPatternToQFontDef(), registerFont(), set_extended_font_bits(), and QFont::setFixedPitch().
qreal QFontDef::pixelSize |
Definition at line 90 of file qfont_p.h.
Referenced by QFontEngineDirectWrite::addGlyphsToPath(), QFontEngineDirectWrite::alphaMapBoundingBox(), QFontEngineDirectWrite::cloneWithSize(), QFontEngineWin::cloneWithSize(), QFontEngineX11FT::cloneWithSize(), QFontEngineFT::cloneWithSize(), QFreetypeFace::computeSize(), QFontEngineMac::draw(), QPainter::drawGlyphRun(), QGL2PaintEngineEx::drawStaticTextItem(), QGL2PaintEngineEx::drawTextItem(), QPdfEnginePrivate::drawTextItem(), QPdfBaseEnginePrivate::drawTextItem(), engineForPattern(), exactMatch(), findEncoding(), QFontDatabase::findFont(), QCoreTextFontDatabase::fontEngine(), QFontEngine::harfbuzzFont(), QFontEngineMac::imageForGlyph(), QFontEngineDirectWrite::imageForGlyph(), initFontInfo(), QFontEngine::lineThickness(), QFontDatabase::load(), QFontEngineMultiFT::loadEngine(), loadEngine(), loadSingleEngine(), loadWin(), QFontDatabase::loadXlfd(), QFontEngineQPF::lockFace(), operator<(), QFont::operator<(), operator==(), QFontInfo::pixelSize(), pixelSize(), QRawFont::pixelSize(), QFont::pixelSize(), QRawFontPrivate::platformLoadFromData(), pointSize(), QFont::QFont(), QFontEngineDirectWrite::QFontEngineDirectWrite(), QFontEngineMacMulti::QFontEngineMacMulti(), QFontEngineQPF::QFontEngineQPF(), qt_addPatternProps(), qt_FcPatternToQFontDef(), qt_fillFontDef(), qt_mac_pixelsize(), qt_mac_pointsize(), registerFont(), releaseFontData(), QFontPrivate::resolve(), resolveGdi32(), QFont::setPixelSize(), QFont::setPointSize(), QFont::setPointSizeF(), QRasterPaintEngine::supportsTransformations(), and QFontSubset::toTruetype().
qreal QFontDef::pointSize |
Definition at line 89 of file qfont_p.h.
Referenced by QCoreGraphicsPaintEngine::drawTextItem(), exactMatch(), QFontDatabase::findFont(), QFontEngineMac::imageForGlyph(), initFontInfo(), QFontDatabase::load(), loadWin(), QFontDatabase::loadXlfd(), QFont::operator<(), QFont::operator==(), pixelSize(), QFontInfo::pointSize(), pointSize(), QFont::pointSize(), QFontInfo::pointSizeF(), QFont::pointSizeF(), QFont::QFont(), QFontEngineMac::QFontEngineMac(), qt_FcPatternToQFontDef(), qt_fillFontDef(), qt_mac_pixelsize(), qt_mac_pointsize(), registerFont(), releaseFontData(), QFontPrivate::resolve(), QFont::setPixelSize(), QFont::setPointSize(), and QFont::setPointSizeF().
uint QFontDef::stretch |
Definition at line 98 of file qfont_p.h.
Referenced by QFreetypeFace::computeSize(), QPdfEnginePrivate::drawTextItem(), QPdfBaseEnginePrivate::drawTextItem(), exactMatch(), findEncoding(), QFontDatabase::findFont(), QCoreTextFontDatabase::fontEngine(), QFontEngine::harfbuzzFont(), loadEngine(), loadWin(), QFontDatabase::loadXlfd(), operator<(), QFont::operator<(), operator==(), QFontEngineMacMulti::QFontEngineMacMulti(), qt_addPatternProps(), qt_FcPatternToQFontDef(), registerFont(), QFontPrivate::resolve(), QFont::setStretch(), and QFont::stretch().
uint QFontDef::style |
Definition at line 97 of file qfont_p.h.
Referenced by exactMatch(), findEncoding(), QFontDatabase::findFont(), QCoreTextFontDatabase::fontEngine(), get_font_bits(), QFontInfo::italic(), loadEngine(), loadSingleEngine(), operator<(), QFont::operator<(), operator==(), QFontEngine::properties(), QFont::QFont(), QFontEngineMac::QFontEngineMac(), QFontEngineMacMulti::QFontEngineMacMulti(), QFontEngineQPF::QFontEngineQPF(), qt_addPatternProps(), qt_FcPatternToQFontDef(), qt_fillFontDef(), registerFont(), QFontPrivate::resolve(), set_font_bits(), QFont::setStyle(), QFontInfo::style(), QRawFont::style(), QFont::style(), QFontSubset::toType1(), and QFontEngineFTRawFont::updateFamilyNameAndStyle().
uint QFontDef::styleHint |
Definition at line 93 of file qfont_p.h.
Referenced by QFont::defaultFamily(), exactMatch(), QFontDatabase::findFont(), QFont::freetypeFace(), loadEngine(), operator<(), QFont::operator<(), operator==(), pointSize(), qt_fillFontDef(), qt_x11_set_fallback_font_family(), QFontPrivate::resolve(), QFont::setStyleHint(), QFontInfo::styleHint(), QFont::styleHint(), styleHint(), and QFontSubset::toTruetype().
QString QFontDef::styleName |
Definition at line 83 of file qfont_p.h.
Referenced by exactMatch(), QFontDatabase::load(), operator<(), operator==(), qt_addPatternProps(), QFontPrivate::resolve(), QFont::setStyleName(), QFontInfo::styleName(), QRawFont::styleName(), and QFont::styleName().
uint QFontDef::styleStrategy |
Definition at line 92 of file qfont_p.h.
Referenced by QFontEngineMac::ascent(), QFontEngineDirectWrite::ascent(), QFontEngineMac::averageCharWidth(), QFontEngineMac::boundingBox(), QFontEngineDirectWrite::boundingBox(), QFontEngineMac::descent(), QFontEngineDirectWrite::descent(), QOpenGLPaintEngine::drawStaticTextItem(), QPaintEngineEx::drawStaticTextItem(), QCoreGraphicsPaintEngine::drawTextItem(), exactMatch(), findEncoding(), QFontDatabase::findFont(), QFontconfigDatabase::fontEngine(), QBasicUnixFontDatabase::fontEngine(), getFcPattern(), QFontEngineMac::imageForGlyph(), initFontInfo(), QFontEngineMac::leading(), QFontEngineDirectWrite::leading(), loadEngine(), QFontEngineMultiQPA::loadEngine(), QFontEngineMultiQWS::loadEngine(), loadFc(), loadSingleEngine(), QFontDatabase::loadXlfd(), QFontEngineMac::maxCharWidth(), operator<(), QFont::operator<(), operator==(), preferScalable(), qt_addPatternProps(), qt_FcPatternToQFontDef(), qt_fillFontDef(), qt_fontSetForPattern(), QFontEngineMac::recalcAdvances(), QFontEngineDirectWrite::recalcAdvances(), QFontPrivate::resolve(), resolveGdi32(), QFont::setStyleHint(), QFont::setStyleStrategy(), QFontEngineMacMulti::stringToCMapInternal(), QFont::styleStrategy(), tryPatternLoad(), QFontEngineMac::xHeight(), and QFontEngineDirectWrite::xHeight().
uint QFontDef::weight |
Definition at line 95 of file qfont_p.h.
Referenced by exactMatch(), findEncoding(), QFontDatabase::findFont(), QCoreTextFontDatabase::fontEngine(), QFontEngine::lineThickness(), loadSingleEngine(), loadWin(), QFontDatabase::loadXlfd(), operator<(), QFont::operator<(), operator==(), QFontEngine::properties(), QFont::QFont(), QFontEngineMac::QFontEngineMac(), QFontEngineMacMulti::QFontEngineMacMulti(), QFontEngineQPF::QFontEngineQPF(), qt_addPatternProps(), qt_FcPatternToQFontDef(), qt_fillFontDef(), registerFont(), QFontPrivate::resolve(), QFont::setWeight(), QFontSubset::toTruetype(), QFontSubset::toType1(), QFontEngineFTRawFont::updateFamilyNameAndStyle(), QFontInfo::weight(), QRawFont::weight(), and QFont::weight().